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

How to convert .pkl to .pt? #67

Open
TopKruZ opened this issue Oct 29, 2022 · 0 comments
Open

How to convert .pkl to .pt? #67

TopKruZ opened this issue Oct 29, 2022 · 0 comments

Comments

@TopKruZ
Copy link

TopKruZ commented Oct 29, 2022

I have some question, I have my .pkl file and I need to use in ganslace how to convert .pkl file to .pt file?

I try to use convert_weight.py in stylegan2-pytorch but it’s not work , I think because convert_weight.py in stylegan2-pytorch support tensorflow 1.X but I can not install tensorflow 1.X

I follow this step

image0

But “NVlabs/stylegan2” don’t have convert_weight.py , so I download “Stylegan-PyTorch“
instead and run code from picture but….

image1

The report is “No CUDA runtime is found”

I don’t know what does it mean but I installed CUDA toolkits V10.0 and V11.0

Please help me how to solve this issue and how to convert .plk to .pt for use with ganspac.

I try to use pip uninstall torch and use pip install torch is not work.

I try to install tensorflow 1.X version by I have used pip install tensorflow-gpu==1.5 but it’s not work.

‘please help me and teach me how to convert .pkl to .pt file.

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