MoonBlvd / tad-IROS2019

Code of the Unsupervised Traffic Accident Detection paper in Pytorch.
MIT License
164 stars 39 forks source link

Unresolved reference 'OUT_DIR' #28

Closed justanewcomer233 closed 3 years ago

justanewcomer233 commented 3 years ago

hi,author,thanks for your job first.I noticed a small problem while looking at the code 'save_dir = os.path.join(OUT_DIR, video_name)' in run_fol_for_AD.py,PyCharm prompts Unresolved reference 'OUT_DIR'.I don't know what the problem is.Please help me.

justanewcomer233 commented 3 years ago

And in eval_utils.py : traj = bbox[:,:2], pycharm prompt Unresolved reference 'bbox'

MoonBlvd commented 3 years ago

Hi @justanewcomer233 , thank you for your interest in our work.

1) you can indicate OUT_DIR to be whatever directory you want to save your output at the begining of this file. 2) sorry for the confusion, this function should not be used in the code so you can ignore it.

justanewcomer233 commented 3 years ago

thanks for your answer