VisualComputingInstitute / mots_tools

Tools for evaluating and visualizing results for the Multi Object Tracking and Segmentation (MOTS) task
MIT License
222 stars 45 forks source link

Error when run the command 'python mots_eval/eval.py tracking_results gt_folder seqmap' #12

Closed CommandoHuan closed 3 years ago

CommandoHuan commented 3 years ago

When i ran the command 'python mots_eval/eval.py tracking_results gt_folder seqmap', it raise error:

Traceback (most recent call last): File "mots_eval/eval.py", line 3, in from mots_common.io import load_seqmap, load_sequences ModuleNotFoundError: No module named 'mots_common'

The module 'mots_common' cannot install whit pip. How can i do now? pls help me

CommandoHuan commented 3 years ago

Another question: Can author show the tree list of project. I don't know how to organize the images and annotations. Thanks a lot.

pvoigtlaender commented 3 years ago

Please try to put the current directory into your pythonpath before you start the eval script: export PATH=${PATH}:${PWD}

For the file tree:

KITTI_MOTS/train
  images/
     0000/
     0001/
    ....
  instances/
     0000/
     0001/
    ....
  instances_txt/
   0000.txt
   0001.txt
   ...
CommandoHuan commented 3 years ago

export PATH=${PATH}:${PWD}

Thank you very much.

CommandoHuan commented 3 years ago

Please try to put the current directory into your pythonpath before you start the eval script: export PATH=${PATH}:${PWD}

For the file tree:

KITTI_MOTS/train
  images/
     0000/
     0001/
    ....
  instances/
     0000/
     0001/
    ....
  instances_txt/
   0000.txt
   0001.txt
   ...

Can you show me the full tree list of project? I'm a newbie and don't know where to put KITTI_MOTS folder.

pvoigtlaender commented 3 years ago

The KITTI_MOTS folder doesn't have to be at a specific directory. When you run a script, you need to provide the path to the dataset as an argument.

CommandoHuan commented 3 years ago

The KITTI_MOTS folder doesn't have to be at a specific directory. When you run a script, you need to provide the path to the dataset as an argument.

Thank you. But what is the parameter that fit with KITTI_MOTS in the command 'python mots_eval/eval.py tracking_results gt_folder seqmap'

pvoigtlaender commented 3 years ago

gt_folder here is KITTI_MOTS/instances_txt/

ahnonay commented 3 years ago

Closing this for now, please reopen if needed