-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR in installing frame field learning package #22
Comments
May a different python env you used when you ran main.py, especially conda env. I setup up it and ran it. I have never seen this error. |
did you run sh setup.sh first ?? |
If the error remains, adding all the imports to 'requirements.txt' file and then running the setup and main file should work. I managed to do it this way. |
Hello, I tried your method, but I didn't understand what "imports" is. Do you mean that put all the ".py" file names in the "lydorn_utils" folder into "requirements.txt"? |
Hello, I have attached the editted requirements.txt file that I used. You can try and see if this works for you. Wish you luck. |
I have sloved this issue by edit "main.py" ---- "import("frame_field_learning.local_utils")'" to "import frame_field_learning.local_utils", but thank you for your kind reply. |
I'm running the code on Windows 10 system. I successfully executed bash setup.sh
Post that I ran python setup.py install and got this output:
But when I run python main.py --run_name "frame_field_learning/runs/mapping_dataset.unet_resnet101_pretrained.field_off.train_val | 2020-09-07 11:54:48" --in_filepath grid_100-100_3698.0.tif
This throws an error
ERROR: The frame_field_learning package is not installed! Execute script setup.sh to install local dependencies such as frame_field_learning in develop mode.
Please reply @Lydorn
Thanks in Advance
The text was updated successfully, but these errors were encountered: