Mohamed209 / Automated-Social-Distancing-Monitoring

automated social distancing monitoring system
Other
1 stars 1 forks source link

error while running the script #1

Open SaddamBInSyed opened 4 years ago

SaddamBInSyed commented 4 years ago

@Mohamed209 thanks for your work.

I am getting the below error while runnng the script on my win10 pc ( cpu only) + pycharm

Traceback (most recent call last): File "C:/Users/saddam.h.SMARTV/Downloads/monitoring-social-distancing-CSRNet-master/monitoring-social-distancing-CSRNet-master/predict.py", line 2, in model = CSRNet() File "C:\Users\saddam.h.SMARTV\Downloads\monitoring-social-distancing-CSRNet-master\monitoring-social-distancing-CSRNet-master\model\model.py", line 26, in init self.frontend.state_dict().items()[i][1].data[:] = mod.state_dict().items()[i][1].data[:] TypeError: 'odict_items' object does not support indexing

please advise

Mohamed209 commented 4 years ago

@SaddamBInSyed The repository is in very early stage of the development , it is still under construction , once I finish developing , I will officially release it

SaddamBInSyed commented 4 years ago

Thanks for the response.

Looking forward to see the complete one.

Once again thanks

Mohamed209 commented 4 years ago

@SaddamBInSyed check repo final results