OpenPCDet icon indicating copy to clipboard operation
OpenPCDet copied to clipboard

how to open result.pkl generated by train.py

Open 1uk4s opened this issue 3 years ago • 3 comments

Hi there, I trained a model and wanted to open the result.pkl file generated by train.py.

import torch res = torch.load("/path.../result.pkl") print(res)

but i get the error: RuntimeError: Invalid magic number; corrupt file?

Now I am not sure if something went wrong with the generation of the file or if I open it wrong. My question is: how do you look in the results in the result.pkl file ?

thanks in advance Lukas

1uk4s avatar Jun 19 '22 10:06 1uk4s

Hello, I found this repo that allows to visualize the test result : https://github.com/DeclK/3d-object-vis

udacityyy avatar Jun 20 '22 09:06 udacityyy

thanks that helps!

1uk4s avatar Jun 29 '22 15:06 1uk4s

You can have a look on how the evaluation script opens the .pkl files. Here is how to load it for the waymo_eval.py script.

aldipiroli avatar Jul 20 '22 09:07 aldipiroli

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 20 '22 02:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 03 '22 02:09 github-actions[bot]