Skip to content

Size inconsistency between pretrained_models and train_models. #2

@GuoJeffrey

Description

@GuoJeffrey

Dear Prof. Wong. Thanks for providing such wonderful project!
I encounted some problems when I tried to reproduce pretrained_models from scratch by myself.

I found that train_models (depth_model.pth is about 62.2 MB and pose_model.pth is about 48.2 MB) training by myself are smaller than pretrained_models (modi-kitti.pth is about 94.1 MB, posenet-kitti.pth is about 89.0 MB).
After analysing these models, I realized that the network frameworks are same in these models and the only difference between pretrained_models and train_models is "optimizer_state_dict" in models.

Pretrained_models from Model Zoo:
2023-01-28 21-53-33屏幕截图

Train_models training from scratch by myself:
2023-01-28 21-53-52屏幕截图

The training script is as follow:
training_script.txt

Could I trouble you to help me to understand the size inconsistency. I will appreciate any suggestions or tips on how to reproduce the pretrained_models.
Kind regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions