Fork me on GitHub
摘要: <configuration> <viewsettings> <delay value="500"/> </viewsettings> <input> <net-file value="test1.net.xml"/> <route-files value="test1.rou.xml"/> </i 阅读全文
posted @ 2025-01-01 17:22 我们都会有美好的未来 阅读(10) 评论(0) 推荐(0)
摘要: colab可以提供免费的GPU以供深度学习,但有时候我们一个大的深度学习项目需要断点debug,在colab上就显得不太方便,网上已经有将本地vscode和pycharm连接到colab上,但这里要介绍的是另外一种更加简单的方法: 1、在colab上新建一个notebook输入以下代码: !pip  阅读全文
posted @ 2022-02-07 11:40 我们都会有美好的未来 阅读(601) 评论(0) 推荐(0)
摘要: import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tffrom tensorflow import kerasfrom tensorflow.keras import datasets, layers, opt 阅读全文
posted @ 2020-12-13 14:22 我们都会有美好的未来 阅读(151) 评论(0) 推荐(0)
摘要: import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tffrom tensorflow import kerasfrom tensorflow.keras import datasets, layers, opt 阅读全文
posted @ 2020-11-19 19:03 我们都会有美好的未来 阅读(219) 评论(0) 推荐(0)
摘要: import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tffrom tensorflow import kerasfrom tensorflow.keras import datasets, layers, opt 阅读全文
posted @ 2020-11-19 18:24 我们都会有美好的未来 阅读(137) 评论(0) 推荐(0)
摘要: import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tffrom tensorflow import kerasfrom tensorflow.keras import datasets, layers, opt 阅读全文
posted @ 2020-11-17 21:08 我们都会有美好的未来 阅读(104) 评论(0) 推荐(0)
摘要: import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tffrom tensorflow import kerasimport numpy as npfrom matplotlib import pyplot as 阅读全文
posted @ 2020-11-17 15:32 我们都会有美好的未来 阅读(228) 评论(0) 推荐(0)
摘要: import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tffrom tensorflow import kerasfrom tensorflow.keras import datasets# 加载数据集# x:[6 阅读全文
posted @ 2020-11-08 10:15 我们都会有美好的未来 阅读(170) 评论(0) 推荐(0)
摘要: import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tfimport matplotlib.pyplot as plt# z=sin(x)+sin(y)def func(x): # x的shape是(b,2) # 阅读全文
posted @ 2020-11-07 09:48 我们都会有美好的未来 阅读(97) 评论(0) 推荐(0)
摘要: import tensorflow as tftf.random.set_seed(2467) # 随机种子,我也没搞明白是什么玩意(好像是能保证每次输出的随机数都是一致的)output = tf.random.normal([10, 6]) # 模拟预测的结果,10个样本,6类分类output = 阅读全文
posted @ 2020-11-05 19:39 我们都会有美好的未来 阅读(233) 评论(0) 推荐(0)