1.Failed precondition: Python interpreter state is not initialized. The process may be terminated.
OOM了,将bs设置小一点;切换CPU;重置输入图片尺寸,通过减小图片大小来减少对显存的消耗
2.Could not load dynamic library 'cupti64_100.dll'; dlerror: cupti64_100.dll not found. Encountered error while starting profiler: Unavailable: CUPTI error: CUPTI could not be loaded or symbol could not be found.
进入C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA<version>\extras\CUPTI\libx64;复制文件cupti64_100.dll;粘贴到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA<version>\bin\文件夹下
3.GTX1650和GTX1050Ti的差额大约在200元左右,GTX1650比GTX1050Ti高26%左右
4.ModuleNotFoundError: No module named 'numpy.typing'.(没解决利索)
按照提示装numpy 1.20.0和pillow 8.3.2
5.这个没解决failed call to culnit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected.
6.AttributeError: 'str' object has no attribute 'decode'
卸载:pip uninstall h5py
下载:pip install h5py==2.10