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

Can't find 'cd ~/.vsr/ touch config.yml' #122

Open
DaxingZ opened this issue Oct 12, 2021 · 4 comments
Open

Can't find 'cd ~/.vsr/ touch config.yml' #122

DaxingZ opened this issue Oct 12, 2021 · 4 comments

Comments

@DaxingZ
Copy link

DaxingZ commented Oct 12, 2021

ubuntu系统,显示没有那个文件或目录,盘里也搜索了没找到config.yml。另外,请问默认设置是pytorch么?谢谢!

@DaxingZ DaxingZ closed this as completed Oct 12, 2021
@DaxingZ DaxingZ reopened this Oct 12, 2021
@Ethanwolfie
Copy link

cd ~再mkdir .vsr应该就可以了,然后再创建config.yml。
默认应该是pytorch,VSR/Backend/init.py中:
CONFIG = {
'backend': os.environ.get('VSR_BACKEND', 'pytorch'),
'verbose': os.environ.get('VSR_VERBOSE', 'info'),
}

@DaxingZ
Copy link
Author

DaxingZ commented Oct 16, 2021

cd ~再mkdir .vsr应该就可以了,然后再创建config.yml。

默认应该是pytorch,VSR/Backend/init.py中:

CONFIG = {

'backend': os.environ.get('VSR_BACKEND', 'pytorch'),

'verbose': os.environ.get('VSR_VERBOSE', 'info'),

}

谢谢!就是需要自己手动创建这个是嘛,config里只需要这两段就行了是吧。

@Ethanwolfie
Copy link

cd ~再mkdir .vsr应该就可以了,然后再创建config.yml。
默认应该是pytorch,VSR/Backend/init.py中:
CONFIG = {
'backend': os.environ.get('VSR_BACKEND', 'pytorch'),
'verbose': os.environ.get('VSR_VERBOSE', 'info'),
}

谢谢!就是需要自己手动创建这个是嘛,config里只需要这两段就行了是吧。

上面的是python代码里面的默认后端设置,可以在~/.vsr/config.yml中这样设置默认后端:
backend: tensorflow # (tensorflow, pytorch)
verbose: info # (debug, info, warning, error)
作者的文档里有

@DaxingZ
Copy link
Author

DaxingZ commented Oct 27, 2021

好的谢谢!

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

2 participants