Unable to run, attempted to make changes but still failed
back (most recent call last):
File "D:\opensourceProject\OpenSfM\annotation_gui_gcp\main.py", line 11, in
I also had this issue. Solved it by insert the following lines in annotation_gui_gcp/main.py before the line from annotation_gui_gcp.lib import GUI:
# Add opensfm directory to path
import os
opensfm_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
import sys
sys.path.append(opensfm_dir)
I also had this issue. Solved it by insert the following lines in annotation_gui_gcp/main.py before the line
from annotation_gui_gcp.lib import GUI:# Add opensfm directory to path import os opensfm_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) import sys sys.path.append(opensfm_dir)
I tried according to your method, but the result is still the same as before and cannot run. May require some other suggestions,thank you very much.