当前位置:网站首页>Solutions to errors in tensorflow operation
Solutions to errors in tensorflow operation
2022-07-27 11:15:00 【Firefly fire】
1.ImportError: DLL load failed: The specified module was not found
resolvent : hold TensorFlow Uninstalled and reinstalled ( Maybe it's because the version doesn't correspond , stay anaconda Delete TensorFlow library , And then install it again )
2.keras Report errors :load_weights() got an unexpected keyword arguement 'skip_mmismatch'
The final will be keras upgrade ( My upgrade to 2.1.5 edition ), This problem is solved .
summary :
Running keras and tensorflow The program has encountered many problems caused by this version . Because deep learning is developing rapidly , So many frameworks API The update is faster , in the future debug You must pay attention to checking the version problem .
3.pip Report errors ModuleNotFoundError: No module named 'pip._internal'
# wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
# sudo python get-pip.py
4. Slow download speed , encounter time read out problem
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xx
5. Import tensorflow:ImportError: libcublas.so.9.0: cannot open shared object file: No such file or director
The reason for this problem is TensorFlow-gpu Version and cuda Caused by mismatch , It is necessary to adjust the reassembly correspondence
see CUDA edition :
cat /usr/local/cuda/version.txt
see CUDNN edition :
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2Corresponding table

6. tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for
This problem usually occurs because the file path is a relative path , Change the path of the problem to the absolute path ( The full path ), The following example :
'./VOC2007/Annotations/' Change it to 'Z:/pycharm_projects/CenterNet_1/VOC2007/Annotations/'
边栏推荐
- Internal and external troubles of digital collection NFT "boring ape" bayc
- Influence of black and white pixel distribution on iteration times
- properties文件
- Taishan Office Technology Lecture: scaling and opening files
- The difference of iteration number and information entropy
- Instructions for mock platform
- A deep analysis of the soul of C language -- pointer
- 背包问题 AcWing 9. 分组背包问题
- Shock simulation of engine mounting system transient modal dynamic analysis and response spectrum analysis
- 涌现与形态的局部差异和整体差异
猜你喜欢

Kangaroo cloud stack based on CBO in spark SQL optimization

涌现与形态的局部差异和整体差异

Play with the cluster configuration center and learn about the Taier console

Asustek unparalleled, this may be the best affordable high brush thin notebook on the screen

IMG SRC is empty or SRC does not exist, and the picture has a white border

Use of pyquery

最短移动距离和形态复合体的熵

The longest ascending subsequence model acwing 1016. The sum of the largest ascending subsequence

The longest ascending subsequence model acwing 1017. The glider wing of the strange thief Kidd

The second method of calculating overlapping integral
随机推荐
Backpack model acwing 1022. Collection of pet elves
How to build a real-time development platform to deeply release the value of enterprise real-time data?
2022牛客多校训练(3)A-Ancestor 题目翻译
背包模型 AcWing 1022. 宠物小精灵之收服
01 BTC cryptology principle
FAQs of "relay chain" and "dot" in Poka ecosystem
学习笔记-minio
Luogu p1441 weight weighing
4 search insertion location
The longest ascending subsequence model acwing 1016. The sum of the largest ascending subsequence
数字三角形模型 AcWing 1027. 方格取数
Luogu p1896 non aggression
Longest ascending subsequence model acwing 1010. Interceptor missile
10 complete half of the questions
学习笔记-简易服务器实现
荒野觅踪---寻找迭代次数
计算重叠积分的第二种方法
Maximized array sum after 13 K negations
数字三角形模型 AcWing 1018. 最低通行费
Learning notes uni app