Lumisa
Lumisa
The docker docs show how to config the docker network, https://docs.docker.com/engine/install/linux-postinstall/#control-where-the-docker-daemon-listens-for-connections
> 找不到视频文件我也是疯了,改了glob.glob之后找到了但是ffmeg各种不服,也真是,咋会有这种莫名其妙的bug的…… 当处理视频的时候,需要指定视频文件,不再是文件夹了
> 谢谢,我是用的PyCharm运行源代码发现不识别文件夹里的视频的,如果要指定视频的话应该需要更改源代码,我通过更改代码的glob.glob的匹配代码可以找到视频文件了,但是ffmpeg运行库又有问题了,这个不知道怎么解决了。 > […](#) > ---Original--- From: ***@***.***> Date: Fri, Oct 20, 2023 23:35 PM To: ***@***.***>; Cc: ***@***.******@***.***>; Subject: Re: [sczhou/CodeFormer] Video method not working (Issue #89) 找不到视频文件我也是疯了,改了glob.glob之后找到了但是ffmeg各种不服,也真是,咋会有这种莫名其妙的bug的…… 当处理视频的时候,需要指定视频文件,不再是文件夹了...
提示语有,因为版本不匹配,cuda和torch的版本对不上。 执行如下命令安装指定版本的torch和cuda `pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html` 然后在虚拟环境中输入python,进入python的cli模式,输入如下代码,检测版本修改后gpu是否可以用 import torch torch.__version__ torch.cuda.is_available()
you can run this script to install right version for cuda and torch `pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html ` the version docments look below url https://pytorch.org/get-started/previous-versions/