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

运行Demo的出错疑问,往有空解惑! #13

Open
Tracey-ZP opened this issue Jun 2, 2023 · 2 comments
Open

运行Demo的出错疑问,往有空解惑! #13

Tracey-ZP opened this issue Jun 2, 2023 · 2 comments

Comments

@Tracey-ZP
Copy link

终端运行BASICSR_EXT=True python setup.py develop 提示BASICSR_EXT命令不能识别;
使用demo运行语句,提示 NameError: name 'deform_conv_ext' is not defined

@RQ-Wu
Copy link
Owner

RQ-Wu commented Jun 2, 2023

你是windows的机器吗,我不确定能否在win上运行。XPixelGroup/BasicSR#392看看这个能否解决你的问题

@Arrokoth0320
Copy link

今天查了一天,本质上是要将环境变量BASICSR_EXT=True写入环境变量,按照BASICSR官方教程,windows可以通过set my_var=value设置即可。如果通过conda管理的环境,则无法通过上述命令更改环境中的环境变量。需使用命令
conda env config vars set my_var=value实现,参考https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#setting-environment-variables。然后重新active环境即可。然后pip uninstall basicsr后,重新运行python setup.py develop即可。

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

3 participants