cvondrick / vatic

Efficiently Scaling Up Video Annotation with Crowdsourced Marketplaces. IJCV 2012
http://mit.edu/vondrick/vatic/
MIT License
597 stars 255 forks source link

NameError: global name 'Video' is not defined #88

Closed BestSonny closed 6 years ago

BestSonny commented 6 years ago

When I run turkic extract data/video.mkv output/data, I get this error.

File "/s3lab2/panhe/DOT/vatic/cli.py", line 54, in call path = Video.getframepath(frame, args.output)

Why it gives this error since we already import the Video module at https://github.com/cvondrick/vatic/blob/master/cli.py#L16

BestSonny commented 6 years ago

This problem is caused by the PYTHONPATH, where there exists another project having a model.py file.