TencentYoutuResearch / CrowdCounting-P2PNet

The official codes for the ICCV2021 Oral presentation "Rethinking Counting and Localization in Crowds: A Purely Point-Based Framework"
Other
404 stars 109 forks source link

unable to run on CPU #35

Open Akshayvasav opened 2 years ago

Akshayvasav commented 2 years ago

I am getting below error while running this on CPU machine(i haven't installed Cuda enabled Pytorch as my computer don't have GPU)

AssertionError: Torch not compiled with CUDA enabled

qiqihuang commented 1 year ago

you have to change as torch-cpu version

Ashuradhipathi commented 6 months ago

I am trying to run it on github code spaces, I just want to test a single image