kaylode / vehicle-counting

Vehicle counting using Pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error in useing different video name

VYRION-Ai opened this issue · comments

when i use your video demo , it works well
but if i use different video name ,(i also remember to change the .josn file name) , it gives me this error.
(car_video is the video name).
if i rename my video to cam_04 it works .

Fusing layers... Model Summary: 213 layers, 7020913 parameters, 0 gradients Adding AutoShape... Traceback (most recent call last): File "run.py", line 48, in <module> main(args, config) File "run.py", line 30, in main pipeline.run() File "/content/main/modules/__init__.py", line 34, in run self.cam_config.cam[cam_name], KeyError: 'car_video'

You need to modify the video name in cam_configs.yaml as well

Thank you , it's work .