Error
Dear all,
I am new to python and I was interested to try AutoNEB. I installed the prerequisites successfully as mentioned. (python 3.8.3 and numpy 1.20.3) I tried python main.py project_directory config_file and I get thee below;
File "main.py", line 131, in
How can I fix this ? Thank you
Hi, thank you for your question. You will need to call the script like this:
python <PROJECT_DIRECTORY> <CONFIG_FILE>
Here, PROJECT_DIRECTORY is the path to a folder where results should be stored, and CONFIG_FILE is the path to an existing configuration file which you can find in the configs folder.
Beware that this library has not been updated for three years now, so I cannot guarantee that the code is compatible to the newer versions of libraries like PyTorch.
thank you for your response.
Thanks to your response, I paid more attention to the instructions, I chose one of the .yaml(s) in the config directory. So I did: python main.py .. C:\Users\conta\PyTorch-AutoNEB\configs\cifar10-cnn12.yaml
and I got the below:
Downloading https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz to C:\Users\conta\PyTorch-AutoNEB\tmp\cifar10\cifar-10-python.tar.gz
100%|█████████████████████████████████████████████████████████████▉| 170229760/170498071 [00:24<00:00, 16478417.28it/s]Extracting C:\Users\conta\PyTorch-AutoNEB\tmp\cifar10\cifar-10-python.tar.gz to C:\Users\conta\PyTorch-AutoNEB\tmp\cifar10
Files already downloaded and verified
Traceback (most recent call last):
File "main.py", line 131, in
There is a torch runtimeerror which I have to resolve.