megvii-model / YOLOF

MIT License
808 stars 115 forks source link

pods_train: command not found #52

Open WuChannn opened 2 years ago

WuChannn commented 2 years ago

hi, I follow the installation instruction, and everything is ok until comes to "Train" part. After cd into playground/detection/coco/yolof/yolof.res50.C5.1x, I run the shell script pods_train --num_gpus 1, and get pods_train: command not found

looking forward to your reply, thanks

ytoon commented 2 years ago

could you give more details about your problem? such as installation about cvpods. Maybe you can install cvpods following the instruction from here.

WuChannn commented 2 years ago

@ytoon i follow the installation instruction here: ` cd YOLOF/

python setup.py develop `

ytoon commented 2 years ago

I think your installation is not complete. Maybe you should compile setup.py with CUDA by setting environment variables CUDA_HOME. Before this compilation, you need to install some python packages as follows:

Cython
appdirs
cloudpickle
colorama
easydict
future
matplotlib
pandas
portalocker
pycocotools
pydot
seaborn
tabulate
tensorboard
termcolor
tqdm
opencv-python
lvis

I will update this project soon by adding a requirements.txt.

WuChannn commented 2 years ago

@ytoon i install all python packages you stated, and then run python setup.py develop,

sadly, pods_train still can't be found

can you help modify the installation instruction!

ytoon commented 2 years ago

Ok, I will update the installation instruction as soon as possible.