Banconxuan / RTM3D

The official PyTorch Implementation of RTM3D and KM3D for Monocular 3D Object Detection
MIT License
454 stars 85 forks source link

TypeError: car_pose_decode() missing 1 required positional argument: 'rot' #33

Open sunnyln opened 3 years ago

sunnyln commented 3 years ago

I got the error below when I trained the model with the parameter "--debug 3" for training process visualization.

File "./src/main.py", line 114, in <module> main(opt) File "./src/main.py", line 76, in main log_dict_train, _ = trainer.train(epoch, train_loader) File "/home/lina/venti/RTM3D/src/lib/trains/base_trainer.py", line 162, in train return self.run_epoch('train', epoch, data_loader,unlabel_loader1,unlabel_loader2,unlabel_set,iter_num,uncert) File "/home/lina/venti/RTM3D/src/lib/trains/base_trainer.py", line 138, in run_epoch self.debug(batch, output, iter_id) File "/home/lina/venti/RTM3D/src/lib/trains/car_pose.py", line 76, in debug reg=reg, hm_hp=hm_hp, hp_offset=hp_offset, K=opt.K) TypeError: car_pose_decode() missing 1 required positional argument: 'rot'