深度学习框架pytorch&tensorflow
文章平均质量分 72
该子专栏主要记录一些关于深度学习框架相关的知识及其配置,还有和IDE的连接配置问题。
萌同学_Yeah
悟已往之不谏,知来者之可追。
“持续而缓慢的学习,而不是临时抱佛脚,才能带来长久的成长。”——吴恩达
展开
-
查看tensorflow版本以及tensorflow更新
1. 查看TensorFlow版本2.查看TensorFlow安装路径原创 2020-01-01 20:51:25 · 290 阅读 · 0 评论 -
pip安装第三方库,报错 Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection brok
错误: 报错原因:国外镜像源连接问题导致解决:改为国内镜像源下载常用国内源:清华:https://pypi.tuna.tsinghua.edu.cn/simple/阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/华中理工大学:ht...原创 2020-02-02 15:48:41 · 361 阅读 · 0 评论 -
TensorFlow与Flask结合打造手写体数字识别
flask Tensorflow定义模型modelmnist_testdemo/mnist/model.py线性模型import tensorflow as tf# Y=W*x+b 线性模型def regression(x): W = tf.Variable(tf.zeros([784, 10]), name="W") b = tf.Variable(tf...原创 2020-02-13 21:12:46 · 298 阅读 · 0 评论 -
Windows下安装TensorFlow
之前有尝试很多遍TensorFlow的安装,但是即使安装上了,运行测试程序的时候总是会出现各种各样的错误,解决一个之后,又会出现更多的错误。其中就有版本的问题导致测试程序的错误,也有TensorFlow版本和做使用的python的版本也有一定的关系,尝试很多次,放弃了一段时间。基本理论具备之后,今天终于安装成功了。TensorFlow支持的硬件平台有CPU版、GPU版、TPU版。...原创 2020-01-22 20:49:10 · 1432 阅读 · 0 评论 -
TensorFlow与flask打造手写体数字识别
过程中出现的问题:C:\Users\123\Anaconda3\envs\TF_2C\python.exe D:/python/mnist_demotest/main.py* Serving Flask app "main" (lazy loading)* Environment: production WARNING: This is a development server....原创 2020-03-02 10:42:36 · 375 阅读 · 0 评论 -
第一个TensorFlow程序运行问题及解决方法
这里是TensorFlow中文社区的一个小例子:>>> import tensorflow as tf>>> hello = tf.constant('Hello, TensorFlow!')>>> sess = tf.Session()>>> print sess.run(hello)Hello, Tenso...原创 2020-02-01 17:03:09 · 888 阅读 · 0 评论 -
目标检测数据集
1. kitti数据集http://www.cvlibs.net/datasets/kitti/eval_object.php?obj_benchmark=2d2.coco数据集http://cocodataset.org/#download原创 2020-01-31 16:59:47 · 777 阅读 · 0 评论 -
pycharm远程操作服务器、并上传本地代码
主要参考的文章是https://blog.csdn.net/JZJZ73/article/details/112305703?utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control&dist_request_id=1328680.40491.16163208836492549&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARC转载 2021-03-21 19:21:07 · 185 阅读 · 0 评论 -
pycharm配置(anaconda)
1.安装anaconda,去官网下载安装即可2.安装pycharm3.在pycharm中导入anaconda打开PyCharm,点击File -> Settings,打开Project Interpreter,如下所示:点击右侧,选择add添加解释器,如下最终结果如下:环境配置成功。。。。写一个小的例子,测试一下环境是否配置成功点击file...原创 2020-02-01 17:36:00 · 443 阅读 · 4 评论 -
torch.nn.modules.linear—Bilinear
功能描述Applies a bilinear transformation to the incoming data: math:`y = x_1^T A x_2 + b`Shape:Input1: (N, *, Hin1) where Hin1 = in1_features and * means any number of additional dimensions. All but the last dimension of the inputs should be the same.In原创 2021-11-23 11:54:54 · 1707 阅读 · 0 评论 -
Windows中使用anaconda安装pytorch环境
关于anaconda的安装和使用教程可以参考简书上的这篇文章,作者总结的非常到位:https://www.jianshu.com/p/62f155eb6ac51.在官网下载并安装anaconda:https://www.anaconda.com/products/individual#macos2.为了方便进行管理,创建属于pytorch的虚拟环境,这里目前有两种方式:(1)命令创建(在conda prompt环境下完成)conda create -n environment_name p原创 2021-04-01 11:52:48 · 495 阅读 · 2 评论