-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protobuf not compatiable #1248
Comments
要不降低一下visualdldl的版本吧,因为现在visualdl里面对于protobuf的版本就是为了支持paddlepaddle的升级,我理解paddlepaddle之后2.5的版本就是会>=3.20 |
依赖问题就像俄罗斯套娃一样,一个接着一个。 降级了版本 pip install visualdl==2.4.2 可以运行,执行demo时,又提示numpy.float版本在1.20后废弃了,默认安装的numpy==1.24.3。 visualdl 2.4.2 还在使用numpy.float(代码在 base_compnent.py引用 labels.astype(np.float) ) 好吧,降级numpy==1.19.5 结果build wheel编译不了... setup.py:67: RuntimeWarning: NumPy 1.19.5 may not yet support Python 3.10. 哈哈。。。 Fine,查了一下 https://pypi.org/project/paddlepaddle/ 对各系统的支持,原来macOS才支持到python3.8 MacOS version 10.11/10.12/10.13/10.14 (64 bit) (not support GPU version yet) Python version 2.7.15+/3.5.1+/3.6/3.7/3.8 (64 bit) pip or pip3 version 9.0.1+ (64 bit) 然后,有依赖cv2,也没有放到依赖定义里。 File "/xxx/lib/python3.8/site-packages/visualdl/utils/img_util.py", line 81, in merge_images 有些兼容的依赖不管了,只要能运行,带病上阵跑通了。 [validation]After epoch 8: accuracy/loss: 0.9789999723434448/0.0741102322936058 |
macOS
python 3.10
pip 23.0.1
visualdl 2.5.0+ 需要protobuf>=3.20.3,但是paddlepaddle 2.4.2 需要 <= 3.20.0,会冲突.
The text was updated successfully, but these errors were encountered: