cvlab-kaist / 3DGAN-Inversion

Official Implementation of WACV 2023 paper "3D GAN Inversion with Pose Optimization".
MIT License
110 stars 13 forks source link

No such file or directory: ./initializer/model_ir_se50.pth #11

Closed truonglengocncc closed 1 year ago

truonglengocncc commented 1 year ago

I followed the steps, after downloading the file on GG Driver. I ran the reverse process: "python scripts/run_pti.py" and got the error: FileNotFoundError: [Errno 2] No such file or directory: './initializer/model_ir_se50.pth'

image

truonglengocncc commented 1 year ago

https://github.com/omertov/encoder4editing/issues/5

truonglengocncc commented 1 year ago

after add the model_ir_se50.pth file, i ran it with comman "Python script/run_pti.py. Then it downloads some things. But failed to set up the PyTorch plugin "bias_act_plugin"

image

tbertucc commented 1 year ago

Hello, I'm also running into this and now having the Bias_Act_Plugin failure. I didn't see a resolution to that - anything you can share as I troubleshoot?

truonglengocncc commented 1 year ago

Hello, I'm also running into this and now having the Bias_Act_Plugin failure. I didn't see a resolution to that - anything you can share as I troubleshoot?

Have you installed CUDA according to their requirements?

tbertucc commented 1 year ago

Hello, I'm also running into this and now having the Bias_Act_Plugin failure. I didn't see a resolution to that - anything you can share as I troubleshoot?

Have you installed CUDA according to their requirements?

I thought I followed the instructions with version - I had to manually build the env because the yml file was erroring out for me. However this seems to suggest it isn't hitting the right version of CUDA, correct? I'm remembering that I had issues getting pytorch to run with CUDA and I had to reinstall pytorch, maybe that is what happened. image

tbertucc commented 1 year ago

I have tried installing cuda and pytorch specifying version 11.3 for cuda and torch 1.11 and continue to get the bias_act_plugin error. About to abandon this. I should mention I'm on windows and using anaconda for environment manager.

truonglengocncc commented 1 year ago

I have tried installing cuda and pytorch specifying version 11.3 for cuda and torch 1.11 and continue to get the bias_act_plugin error. About to abandon this. I should mention I'm on windows and using anaconda for environment manager.

image After I used the correct version of cuda toolkit and pytorch it worked normally