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

You are importing torchvision within its own root folder ... ? #136

Open
amdbuster opened this issue Feb 28, 2024 · 0 comments
Open

You are importing torchvision within its own root folder ... ? #136

amdbuster opened this issue Feb 28, 2024 · 0 comments

Comments

@amdbuster
Copy link

amdbuster commented Feb 28, 2024

Hi, I unpacked DeepMosaics_0.5.1_gpu and installed Cuda, but an error message always appears. When I want to unpixelate a video, I get this message:

..\DeepMosaics\DeepMosaics_0.5.1_gpu\core\torchvision_init_.py:26: UserWarning: You are importing torchvision within its own root folder (..\DeepMosaics\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.
Please check mosaic_position_model_path!

In Step 2 I loaded the clean_youknow_resnet_9blocks.pth and that's what's at the bottom of the window:

cd ./core&start deepmosaic.exe --mode auto --media_path (videopfad).mp4 --model_path ...\DeepMosaics\clean_youknow_resnet_9blocks.pth --fps 0 --gpu_id -1 -ss 00:00:00 -t 00:00:00 --result_dir ../result --mask_threshold 64

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

1 participant