Polygonization-by-Frame-Field-Learning
Polygonization-by-Frame-Field-Learning copied to clipboard
ERROR in installing frame field learning package
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:
Installed d:\anaconda3\envs\topo\lib\site-packages\frame_field_learning-0.0.1-py3.6.egg
Processing dependencies for frame-field-learning==0.0.1
Finished processing dependencies for frame-field-learning==0.0.1
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
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.
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"?
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.
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.