Gabor_CNN_PyTorch
Gabor_CNN_PyTorch copied to clipboard
Here are some suggestions for running on Windows
-
The dependency package version is important and this is the environment on my computer (python 3.6.8 )
- torch==1.1.0 - torchvision==0.2.2.post3 (I test torchvison==0.3.0 on windows,But the terminal tells me "Torchvision import _C ImportError: DLL Load failed" ) - tensorboard==2.8.0 - future==0.18.2
-
Here are some of the problems you may encounter and how to solve them
-
bug : "Microsoft Visual C++ 14.0 or greater is required." solution: Pyorch requires a C++ environment, so you' should install it
-
bug : "Error checking compiler version for cl: [WinError 2] " solution: Preset the environment and change the encoding format to 'GBK'
-
bug : "This probably means that you are not using fork to start your child processes" sloution: When you run main.py in the demo folder on Windows, you need to add a main function