vehicle-counting
vehicle-counting copied to clipboard
Pass video without the json file
@kaylode thanks for great work ! How to run the code with new video that don't have the json file that include annotations as in demo folder, I have multiple videos and I want to use the pretrained model on them
!python run.py --input_path='/content/main/demo/sample/cam_04.mp4' \
--output_path="/content/results" \
--weight="/content/gdrive/MyDrive/best.pt"
as we can see we should have a json file in the same folder (demo/sample) with the video and it must have the same name, what if we want to pass a new video that don't have a json of annotations ?
is it run successfully !! i can't run it successfully it's give me an error :
Traceback (most recent call last):
File "C:\AhmedHefnawy\buy\altr\vehicle-counting-master\vehicle-counting-master\run.py", line 48, in
Can you help ?!!