TAO-Dataset / tao

Code for downloading and using the TAO dataset: http://taodataset.org/
Other
194 stars 32 forks source link

unexpected result after run detector #13

Closed Kewenjing1020 closed 4 years ago

Kewenjing1020 commented 4 years ago

Hi, i tried to run the released detector with following script:

 DETECTRON_MODEL=/proj/rdi/staff/wenjingk/MOT/TAO/detector-r101-fpn-1x-lvis-coco
 TAO_ROOT=/group/dphi_gpu_scratch/wenjingk/TAO/frames/
 python scripts/detectors/detectron2_infer.py \
     --gpus 0 1 2 3 \
     --root $TAO_ROOT/val \
     --output ./detectron2_output/val \
     --config $DETECTRON_MODEL/config.yaml \
     --opts MODEL.WEIGHTS $DETECTRON_MODEL/model_final.pth

and i get an unexpected output: ustaw zmienną środowiskową MILION_ROOT! (np. /home/milion, najlepiej w .bashrc)

Do you know what's the problem?

Kewenjing1020 commented 4 years ago

The problem is solved. It has two causes:

  1. script_utils is not installed.
  2. some files don't allow execution. so I changed file permissions.
John-Yao commented 4 years ago

Hi, I also met the issue. I try to changed file permission and install the package. But I could not figure out. @achalddave Could you provide some helps! Thanks.

John-Yao commented 4 years ago

I reinstall script_utils by pip install git+https://github.com/achalddave/python-script-utils.git#egg=script_utils It run well!