Gen6D icon indicating copy to clipboard operation
Gen6D copied to clipboard

can we apply the transfer learning on this model ? if yes, how can we import the pre-trained model to modify the parameters .

Open AmokraneIlhem opened this issue 1 year ago • 4 comments

AmokraneIlhem avatar Feb 26 '23 19:02 AmokraneIlhem

Hi, the model is stored as a standard pytorch ckpt file. You may refer to https://pytorch.org/tutorials/beginner/saving_loading_models.html for loading these parameters and pass them to the Optimizer for finetuning.

liuyuan-pal avatar Feb 28 '23 04:02 liuyuan-pal

@liuyuan-pal
First of all, thank you for your answer. Where exactly is this file stored?

AmokraneIlhem avatar Feb 28 '23 16:02 AmokraneIlhem

These models are model_best.pth in the data folder.

liuyuan-pal avatar Mar 01 '23 13:03 liuyuan-pal

@liuyuan-pal
so I have to refine each model (detector , viewpoint selector , refiner) ? I also have another question, please, how to freeze the layers of these models because I noticed that inside each model there are several methods. How do I just access the last layers? thank you in advance.

AmokraneIlhem avatar Mar 02 '23 20:03 AmokraneIlhem