Tsinghua-MARS-Lab / futr3d

Code for paper: FUTR3D: a unified sensor fusion framework for 3d detection
Apache License 2.0
282 stars 39 forks source link

Corrupted lidar_cam.pth checkpoint file? #25

Closed mrvangeerenstein closed 1 year ago

mrvangeerenstein commented 1 year ago

Hi there,

I am trying to reproduce your results on the nuscenes validation set, and I downloaded the lidar_cam.pth checkpoint that is linked to in your readme. However, when loading this file using torch.load(), I get the error that:

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Suprisingly, when I attempt to load the lidar_only checkpoint, it loads without any issues. When looking online for the reason of this error, I find that it is often caused by a corrupted/incorrectly-saved file. Could it be that the lidar_cam.pth checkpoint that you link to for downloading, is corrupted? Are others able to load this checkpoint? I tested this with python=3.8 and torch=1.10.0, and later with python=3.8 and torch=1.13.1.

Any suggestions?

tbroed commented 1 year ago

I get the same error

xyaochen commented 1 year ago

Sorry, it may encounter some error in uploading files previously. I have updated lidar_cam.pth. You can find its link in the original position.

mrvangeerenstein commented 1 year ago

Sorry, it may encounter some error in uploading files previously. I have updated lidar_cam.pth. You can find its link in the original position.

That's great. Thanks! I'll test it later today

BigGold0202 commented 1 year ago

I have the same problem when loading cam_radar.pth. Could you please have a check?