guanshuicheng / invoice

Collaboration with wangxupeng(https://github.com/wangxupeng)
MIT License
1.81k stars 447 forks source link

项目跑不起来 #57

Open 1771727182 opened 1 year ago

1771727182 commented 1 year ago

有没有兄弟跑起来的 tensorflow 1.14.0 版本 python版本 3.6.7 报错信息: tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'Placeholder_368' with dtype float and shape [2] [[{{node Placeholder_368}}]]

PlayerJian commented 1 year ago

兄弟,你的解决了么

1771727182 commented 1 year ago

解决了 版本问题 python 3.6.7 tersflow 1.12.0 我就跑起来了

ll553664391 commented 1 year ago

解决了 版本问题 python 3.6.7 tersflow 1.12.0 我就跑起来了

安装了和你一样的版本还是跑步起来,提示ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory,但是我已经安装了cuda环境,cuda版本是11.3, 你安装的什么cuda环境?

ll553664391 commented 1 year ago

有没有兄弟跑起来的 tensorflow 1.14.0 版本 python版本 3.6.7 报错信息: tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'Placeholder_368' with dtype float and shape [2] [[{{node Placeholder_368}}]]

我也遇到这个问题了,有人解决了吗?

Sai1978 commented 1 year ago

AttributeError: partially initialized module 'typing' has no attribute 'TYPE_CHECKING' (most likely due to a circular import)

为何我有这个问题。。。。

1771727182 commented 1 year ago

我 cpu

java2python commented 7 months ago

解决了 版本问题 python 3.6.7 tersflow 1.12.0 我就跑起来了

1.12.0需要修改代码吧? 很多不兼容的地方

java2python commented 7 months ago

File "/Users/hanxirui/workspace/python/invoice-master/venv/lib/python3.6/site-packages/tensorflow/python/keras/engine/saving.py", line 758, in load_weights_from_hdf5_group original_keras_version = f.attrs['keras_version'].decode('utf8') AttributeError: 'str' object has no attribute 'decode'

13817454347 commented 2 months ago

File "/Users/hanxirui/workspace/python/invoice-master/venv/lib/python3.6/site-packages/tensorflow/python/keras/engine/saving.py", line 758, in load_weights_from_hdf5_group original_keras_version = f.attrs['keras_version'].decode('utf8') AttributeError: 'str' object has no attribute 'decode'

请问你解决了吗?我也是这个问题

Ean-Yan commented 2 months ago

同问,环境搭建完运行的时候报:You must feed a value for placeholder tensor 'Placeholder_368' with dtype float and shape [2 [[{{node Placeholder_368}}]]