HypoX64 / DeepMosaics

Automatically remove the mosaics in images and videos, or add mosaics to them.
GNU General Public License v3.0
2.13k stars 441 forks source link

按照视频安装后报错 #59

Open zeta911 opened 3 years ago

zeta911 commented 3 years ago

H:\DeepMosaics_0.5.1_gpu_windows_amd64\DeepMosaics_0.5.1_gpu\core>deepmosaic H:\DeepMosaics_0.5.1_gpu_windows_amd64\DeepMosaics_0.5.1_gpu\core\torchvision__init__.py:26: UserWarning: You are importing torchvision within its own root folder (H:\DeepMosaics_0.5.1_gpu_windows_amd64\DeepMosaics_0.5.1_gpu\core). This is not expected to work and may give errors. Please exit the torchvision project source and relaunch your python interpreter. Error: Media does not exist! 按照视频做的,不知道哪里做错了

HypoX64 commented 3 years ago

额,这个提示其实就是视频路径错了.....你再检查一下有是不是纯英文而且无空格的

zeta911 commented 3 years ago

额,这个提示其实就是视频路径错了.....你再检查一下有是不是纯英文而且无空格的

还有一个问题,到底cuda11 还是cuda10,我的个人配置是:爬虫3.7(64),NVIDIA-SMI 462.59 Driver Version: 462.59 CUDA Version: 11.2 ,没有装vs平台,不知道哪里会出问题

HypoX64 commented 3 years ago

额,我写得很清楚,是11.0😂哈哈哈

HypoX64 commented 3 years ago

借个楼😭统一回复一下类似的问题。 视频里的是以前的版本,如果以后继续更新可能还会更新版本,一切以文件夹里的how_to_install.txt里指定的版本为准

zeta911 commented 3 years ago

额,这个提示其实就是视频路径错了.....你再检查一下有是不是纯英文而且无空格的

还有一个问题,我明明在安装,都还没有使用,怎么会是视频有问题?能等版本跟新解决空格路径修复后再用吗?

zeta911 commented 3 years ago

现在是能用,但没消耗GPU,py运行最顶端的信息如下:H:\DMGPU\deepmasaicoGPU\core\torchvision__init__.py:26: UserWarning: You are importing torchvision within its own root folder (H:\DMGPU\deepmasaicoGPU\core). This is not expected to work and may give errors. Please exit the torchvision project source and relaunch your python interpreter. segment parameters: 12.4M netG parameters: 26.65M

HypoX64 commented 3 years ago

啊这,你勾上GPU了吗,查看一下显存是否有占用?

zeta911 commented 3 years ago

啊这,你勾上GPU了吗,查看一下显存是否有占用?

勾上GPU了,2060s连10%的占用都不到,2700的cpu倒是接近满载,我觉得应该是我安装软件配置哪里出了问题,但我不知道问题在哪,如果有问题我该检查哪里?

HypoX64 commented 3 years ago

如果显存是有占用的话那证明确实是在GPU上跑了,因为它分为几个步骤,第一步视频转换图片的步骤是不使用GPU的。

zeta911 commented 3 years ago

如果显存是有占用的话那证明确实是在GPU上跑了,因为它分为几个步骤,第一步视频转换图片的步骤是不使用GPU的。

没,我看错了,10%的占用是电脑总共占用,deepmosaico.exe的占用1%都不到

0xDkXy commented 2 years ago

我也遇到了同样的问题,并且我的显卡驱动和cuda都是使用的how_to_install中网盘里提供的 C:\Users\bo001\Downloads\Compressed\DeepMosaics0.5.1GPU\core\torchvision__init__.py:26: UserWarning: You are importing torchvision within its own root folder (C:\Users\bo001\Downloads\Compressed\DeepMosaics0.5.1GPU\core). This is not expected to work and may give errors. Please exit the torchvision project source and relaunch your python interpreter. Please check mosaic_position_model_path!

ivAkii commented 2 years ago

我也遇到了同样的问题 Solution?

jfxl commented 1 year ago

我也遇到了同样的问题,并且我的显卡驱动和cuda都是使用的how_to_install中网盘里提供的 C:\Users\bo001\Downloads\Compressed\DeepMosaics0.5.1GPU\core\torchvisioninit.py:26: UserWarning: You are importing torchvision within its own root folder (C:\Users\bo001\Downloads\Compressed\DeepMosaics0.5.1GPU\core). This is not expected to work and may give errors. Please exit the torchvision project source and relaunch your python interpreter. Please check mosaic_position_model_path!

Neptus999 commented 1 year ago

Can anyone tell me which of Deepmosiac Ver that can use the "Clean_you_knowHD" Because the 0.5.1 ver cannot run this pretrained model.

On Wed, Nov 23, 2022 at 11:06 PM jfxl @.***> wrote:

我也遇到了同样的问题,并且我的显卡驱动和cuda都是使用的how_to_install中网盘里提供的 C:\Users\bo001\Downloads\Compressed\DeepMosaics0.5.1GPU\core\torchvisioninit.py:26: UserWarning: You are importing torchvision within its own root folder (C:\Users\bo001\Downloads\Compressed\DeepMosaics0.5.1GPU\core). This is not expected to work and may give errors. Please exit the torchvision project source and relaunch your python interpreter. Please check mosaic_position_model_path!

— Reply to this email directly, view it on GitHub https://github.com/HypoX64/DeepMosaics/issues/59#issuecomment-1325219885, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXERELFJOBKEGNWXP3IYDLWJYXFZANCNFSM46FRL6JA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

xiaoniao231 commented 1 year ago

借个楼😭统一回复一下类似的问题。 视频里的是以前的版本,如果以后继续更新可能还会更新版本,一切以文件夹里的how_to_install.txt里指定的版本为准

啥时候更新youknow模型啊