
tensorflow
2021黑白灰
这个作者很懒,什么都没留下…
展开
-
FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated; in a future version
import tensoflowimport keras报错:FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.原因:numpy和tensorflow不适配解决:降低numpy版本报错前:tensorflow==1.原创 2021-12-06 21:26:25 · 1479 阅读 · 0 评论 -
Could not load dynamic library ‘libnvinfer.so.6‘; 错误解决
错误:import tensorflow as tfCould not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory;Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT,原创 2021-12-06 10:31:30 · 2016 阅读 · 1 评论