yolo3-keras icon indicating copy to clipboard operation
yolo3-keras copied to clipboard

请问python用的什么版本

Open Augenstern-yzh opened this issue 5 years ago • 11 comments

3.6以上的python 无法解释protobuf包下某个py文件 下的某些syntax

Augenstern-yzh avatar Jan 13 '20 12:01 Augenstern-yzh

我用的是python3.6 tensorflow1.13 keras2.1.5

bubbliiiing avatar Jan 13 '20 16:01 bubbliiiing

按你说的安装了版本,但是在运行train.py时,有很多"C:\Users\Lenovo\Anaconda3\lib\site-packages\google\protobuf\internal\decoder.py"里面的SyntaxError: invalid syntax,请问咋办呢?

Augenstern-yzh avatar Jan 14 '20 08:01 Augenstern-yzh

这个是缩进问题,你需要调整缩进

bubbliiiing avatar Feb 09 '20 17:02 bubbliiiing

这是我的,可以训练 conda create -n keras python = 3.6 pip install numpy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install matplotlib -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install six -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install opencv-python -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install Pillow -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install scipy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install scikit-image -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install h5py -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install tensorflow-gpu==1.13.1 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pip install keras==2.1.5 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

duanyuqi987 avatar Feb 27 '20 02:02 duanyuqi987

按照上面说的安装了版本,运行依然出错,找不到指定模块

Stitches-97 avatar Apr 03 '20 09:04 Stitches-97

是不是tensorflow-gpu环境没配置好

bubbliiiing avatar Apr 03 '20 14:04 bubbliiiing

我刚刚又找了个帖子配置了一下,成功了,应该是几个必须的东西版本不同导致的,麻烦了,谢谢。

---原始邮件--- 发件人: "JiaQi Xu"<[email protected]> 发送时间: 2020年4月3日(周五) 晚上10:08 收件人: "bubbliiiing/yolo3-keras"<[email protected]>; 抄送: "Comment"<[email protected]>;"Stitches-97"<[email protected]>; 主题: Re: [bubbliiiing/yolo3-keras] 请问python用的什么版本 (#1)

是不是tensorflow-gpu环境没配置好

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Stitches-97 avatar Apr 03 '20 16:04 Stitches-97

是不是tensorflow-gpu环境没配置好

必须要电脑有显卡才行吗?

zhangmenghehehe avatar Apr 16 '20 15:04 zhangmenghehehe

是不是tensorflow-gpu环境没配置好

必须要电脑有显卡才行吗? CPU版的tensorflow可以运行吗?笔记本电脑没有NVIDIA的显卡

zhangmenghehehe avatar Apr 17 '20 16:04 zhangmenghehehe

必须有英伟达的显卡

bubbliiiing avatar Apr 19 '20 02:04 bubbliiiing

没有的话只能用cpu版本

bubbliiiing avatar Apr 19 '20 02:04 bubbliiiing