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
NameError: name 'fused_act_ext' is not defined #5
Comments
This is used by BasicSR: https://github.com/xinntao/BasicSR/search?q=fused_act_ext See the comment at https://github.com/TencentARC/GFPGAN#installation
BASICSR_EXT=True pip install basicsr |
I followed your instructions BASICSR_EXT=True pip install basicsr and still get the same error. Which version of basicsr is on your working environment? |
I solved this issue using : export BASICSR_JIT='True' maybe this command could work (not tested) |
I get the same error. Have you solved it ? |
Using "export BASICSR_JIT='True'" solved my problem, Thanks! |
Maybe there are some errors in compiling the cuda operators. OR |
|
After asking for help from BasicSR, a solution was found. conda install gcc_linux-64=7.3.0 gxx_linux-64=7.3.0 In my case, quick inference works by using $ BASICSR_JIT=True python inference_gfpgan_full.py --model_path experiments/pretrained_models/GFPGANv1.pth --test_path inputs/whole_imgs
Processing 00.jpg ...
Processing 10045.png ...
Results are in the <results> folder. $ BASICSR_JIT=True python inference_gfpgan_full.py --model_path experiments/pretrained_models/GFPGANv1.pth --test_path inputs/cropped_faces --aligned
Processing Adele_crop.png ...
Processing Julia_Roberts_crop.png ...
Processing Justin_Timberlake_crop.png ...
Processing Paris_Hilton_crop.png ...
Results are in the <results> folder. Thanks for your assistance and this wonderful project. |
@jerrymatjila |
Hi, I'm new to all of this. I wanted to know how to solve the problem "BASICSR_EXT" is not recognized as an internal or external command". I'm stuck in that and I don't know what I need to do. Thanks! |
This is an environment variable used by the https://github.com/xinntao/BasicSR/blob/f2d3510bf7044c7bacfdbb1396b281faac918cf1/setup.py#L117 |
I know, but I can't get it to work. I have everything installed, I don't know what else I need to do :(. |
I get the same error, should but if i run |
I solve the problem "NameError: name 'deform_conv_ext' is not defined" by: export BASICSR_JIT='True' and then input test command in one GPU : python basicsr/test.py -opt options/test/EDVR/test_EDVR_M_x4_SR_REDS.yml |
Does win10 fail to solve this error? |
i am a rookie,where can i use the method in pycharm |
I run the script like this in terminal : sh run.sh export ... |
use "BASICSR_EXT=True pip install basicsr" solved problem, thank u~ |
same problem! |
I met the same problem, did you solve it? |
你解决了吗 |
Attempt for quick inference is throwing NameError: name 'fused_act_ext' is not defined.
I'll highly appreciate your assistance. Below are the details of the error and conda packages.
Your assistance can also come in a form of simply sharing your list installed packages.
The text was updated successfully, but these errors were encountered: