-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regrading Pedestrian and Cyclist detection #64
Comments
@Anirbanbhk88 hi~ |
@Joeless I have attached the config car file in zip. |
@pangsu0613 For Pedestrian detection I have downloaded 3 more files from the drive link: second_pedestrian_model.zip ,clocs_pedestrian_trained.zip and mscnn_ped_cyc_trainval_sigmoid_data_scale_1000.zip. If I am not wrong I assume mscnn_ped_cyc_trainval_sigmoid_data_scale_1000.zip contains the 2D detections for pedestrian and cycles. The second_pedestrian_model.zip contains the SECOND detector pretrained for pedestrian and clocs_pedestrian_trained.zip contains the pretrained fusion model for pedestrian...I have extracted all the files and put in the respective paths as instructed in the Readme. When I run my code for evaluating the pedestrian model, the SECOND pretrained model(voxelnet-100224.tckpt) is getting loaded. But there is a an error loading the pretrained Fusion model(fusion_layer-37120.tckpt). The error is in the line CLOCs-master/torchplus/train/checkpoint.py, line 118, in restore _pickle.UnpicklingError: A load persistent id instruction was encountered, I guess the pytorch is not able to load the pickle file for Fusion model. Whereas it can load the pickle file for SECOND model without erros. Dont know the reason why...Do anyone face this issue Also another strange thing I noticed the checkpoint.json file for the Fusion model is pointing to the checkpoint "fusion_layer": "fusion_layer-74240.tckpt" So I updated the checkpoint.json file to point to the file fusion_layer-37120.tckpt. But still torch could not load it. I am using Pytorch 1.0 |
Thanks for your config paper result: |
I faced the same issue and figured out how to fix it. It seems that the checkpoint So I loaded import torch # make sure it's >=1.6
checkpoint = torch.load('/path/to/fusion_layer-37120.tckpt')
torch.save(checkpoint, '/SAVEDIR/new_fusion_layer-37120.tckpt', _use_new_zipfile_serialization=False) Finally I was able to load newer version of the checkpoint with The result is slightly different from what the author shows in README, but I guess it's close enough.
Hope this helps! |
Hi @pangsu0613 Thanks for sharing your work. I am performing my task in sensor fusion based on the CLOCs paper. So I am trying to implement it. I am able to get the same results that you have posted for while Cars. I am now trying to perform the detections for cyclists and pedestrians. In the cyclist/pedestrian detection section you have mentioned:
For the step
Change the value of detection_2d_path to your pedestrian 2D detections.
I could not find any pedestrian 2D detections in the drive linkDo we need to train the Cascade-RCNN separately and generate the 2D detections for pedestrian and cyclist. Or else could you share them?
The text was updated successfully, but these errors were encountered: