dougsm / ggcnn

Generative Grasping CNN from "Closing the Loop for Robotic Grasping: A Real-time, Generative Grasp Synthesis Approach" (RSS 2018)
BSD 3-Clause "New" or "Revised" License
484 stars 138 forks source link

python eval_ggcnn.py error #38

Open luaisi opened 3 years ago

luaisi commented 3 years ago

AttributeError: 'collections.OrderedDict' object has no attribute 'compute_loss'

When I run python python eval_ggcnn.py --network epoch_41_iou_1.00_statedict.pt --dataset jacquard --dataset-path /home/luai/luai/Samples/ --jacquard-output --iou-eval , AttributeError: 'collections.OrderedDict' object has no attribute 'compute_loss'

how to solve this problem

xiaofeiso commented 1 year ago

I have the same problem, have you solved this problem?

CHDrago commented 1 year ago

I have the same problem too, have you solved this problem?

CHDrago commented 1 year ago

Sovel it!!!By replacing epoch_41_iou_1.00_statedict.pt with epoch_41_iou_1.00