Skip to content
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

Should I extact "tar" for FlowNet2_checkpoint.pth.tar ? #277

Open
XinyueZ opened this issue Feb 27, 2023 · 0 comments
Open

Should I extact "tar" for FlowNet2_checkpoint.pth.tar ? #277

XinyueZ opened this issue Feb 27, 2023 · 0 comments

Comments

@XinyueZ
Copy link

XinyueZ commented Feb 27, 2023

hey

I want to use the pretrained model directly. I see that I cannot extract via "tar".

Shall I just call with pytorch:

config_dir = "./configs"
checkpoint_file = f'{config_dir}/FlowNet2_checkpoint.pth.tar'
flownet2 = torch.load(checkpoint_file)

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant