You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey all, I am quite new to python, but I would still like to try and run the model.
I was stucked at the inference part, the instruction given seems like not supporting the powershell syntax interpretation.
Unexpected 'gin_file=official/projects/unified_detector/configs/gin_files/unified_detector_model.gin' vocabulary primitive in operation or statement.
I tried to open up the run.inference.py to change the related directory, but I am getting the error below:
from official.projects.unified_detector import external_configurables # pylint: disable=unused-import
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'official'
Any help would be much appreciated, thanks in advanced !!!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all, I am quite new to python, but I would still like to try and run the model.
I was stucked at the inference part, the instruction given seems like not supporting the powershell syntax interpretation.
run from
models/
python3 -m official.projects.unified_detector.run_inference
--gin_file=official/projects/unified_detector/configs/gin_files/unified_detector_model.gin
--ckpt_path=
--img_file=
--output_path=/demo.jsonl
--vis_dir=
But I am getting the error below:
at Line:2 Characters:3
'--' The operator is missing after the unary operator.
at Line:2 Characters:3
Unexpected 'gin_file=official/projects/unified_detector/configs/gin_files/unified_detector_model.gin' vocabulary primitive in operation or statement.
I tried to open up the run.inference.py to change the related directory, but I am getting the error below:
from official.projects.unified_detector import external_configurables # pylint: disable=unused-import
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'official'
Any help would be much appreciated, thanks in advanced !!!
Beta Was this translation helpful? Give feedback.
All reactions