Open mirkojpn87 opened 3 years ago
You have to make sure you have installed Nvidia driver 460+ , CUDA:11.0
hi Hypo! thank's you for your work. i was able to fix that as you said was because CUDA was missing. now i have a different error that say : UserWarning: You are importing torchvision within its own root folder (C:\Users\mirko\Downloads\DeepMosaics_V0.5.1-20210603T100301Z-002\DeepMosaics_V0.5.1\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. segment parameters: 12.4M netG parameters: 26.65M --------------------ERROR-------------------- --------------Environment-------------- DeepMosaics: 0.5.1 Python: 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] Pytorch: 1.7.1 OpenCV: 4.1.2 Platform: Windows-10-10.0.19041-SP0 --------------BUG-------------- Error Type: <class 'RuntimeError'>
any idea?
Does it have more error messages?
yes sure. is this
\DeepMosaics_V0.5.1-20210603T100301Z-002\DeepMosaics_V0.5.1\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 (C:\Users\mirko\Downloads\DeepMosaics_V0.5.1-20210603T100301Z-002\DeepMosaics_V0.5.1\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. segment parameters: 12.4M netG parameters: 26.65M --------------------ERROR-------------------- --------------Environment-------------- DeepMosaics: 0.5.1 Python: 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] Pytorch: 1.7.1 OpenCV: 4.1.2 Platform: Windows-10-10.0.19041-SP0 --------------BUG-------------- Error Type: <class 'RuntimeError'> Error(s) in loading state_dict for BVDNet: Missing key(s) in state_dict: "encoder3d.model.0.weight_orig", "encoder3d.model.0.weight", "encoder3d.model.0.weight_u", "encoder3d.model.0.bias", "encoder3d.model.0.weight_orig", "encoder3d.model.0.weight_u", "encoder3d.model.0.weight_v", "encoder3d.model.2.weight_orig", "encoder3d.model.2.weight", "encoder3d.model.2.weight_u", "encoder3d.model.2.bias", "encoder3d.model.2.weight_orig", "encoder3d.model.2.weight_u", "encoder3d.model.2.weight_v", "encoder3d.model.4.weight_orig", "encoder3d.model.4.weight", "encoder3d.model.4.weight_u", "encoder3d.model.4.bias", "encoder3d.model.4.weight_orig", "encoder3d.model.4.weight_u", "encoder3d.model.4.weight_v", "encoder3d.model.6.weight_orig", "encoder3d.model.6.weight", "encoder3d.model.6.weight_u", "encoder3d.model.6.bias", "encoder3d.model.6.weight_orig", "encoder3d.model.6.weight_u", "encoder3d.model.6.weight_v", "encoder2d.model.1.weight_orig", "encoder2d.model.1.weight", "encoder2d.model.1.weight_u", "encoder2d.model.1.bias", "encoder2d.model.1.weight_orig", "encoder2d.model.1.weight_u", "encoder2d.model.1.weight_v", "encoder2d.model.4.weight_orig", "encoder2d.model.4.weight", "encoder2d.model.4.weight_u", "encoder2d.model.4.bias", "encoder2d.model.4.weight_orig", "encoder2d.model.4.weight_u", "encoder2d.model.4.weight_v", "encoder2d.model.7.weight_orig", "encoder2d.model.7.weight", "encoder2d.model.7.weight_u", "encoder2d.model.7.bias", "encoder2d.model.7.weight_orig", "encoder2d.model.7.weight_u", "encoder2d.model.7.weight_v", "encoder2d.model.10.weight_orig", "encoder2d.model.10.weight", "encoder2d.model.10.weight_u", "encoder2d.model.10.bias", "encoder2d.model.10.weight_orig", "encoder2d.model.10.weight_u", "encoder2d.model.10.weight_v", "blocks.0.conv_block.1.weight_orig", "blocks.0.conv_block.1.weight", "blocks.0.conv_block.1.weight_u", "blocks.0.conv_block.1.bias", "blocks.0.conv_block.1.weight_orig", "blocks.0.conv_block.1.weight_u", "blocks.0.conv_block.1.weight_v", "blocks.0.conv_block.4.weight_orig", "blocks.0.conv_block.4.weight", "blocks.0.conv_block.4.weight_u", "blocks.0.conv_block.4.bias", "blocks.0.conv_block.4.weight_orig", "blocks.0.conv_block.4.weight_u", "blocks.0.conv_block.4.weight_v", "blocks.1.conv_block.1.weight_orig", "blocks.1.conv_block.1.weight", "blocks.1.conv_block.1.weight_u", "blocks.1.conv_block.1.bias", "blocks.1.conv_block.1.weight_orig", "blocks.1.conv_block.1.weight_u", "blocks.1.conv_block.1.weight_v", "blocks.1.conv_block.4.weight_orig", "blocks.1.conv_block.4.weight", "blocks.1.conv_block.4.weight_u", "blocks.1.conv_block.4.bias", "blocks.1.conv_block.4.weight_orig", "blocks.1.conv_block.4.weight_u", "blocks.1.conv_block.4.weight_v", "blocks.2.conv_block.1.weight_orig", "blocks.2.conv_block.1.weight", "blocks.2.conv_block.1.weight_u", "blocks.2.conv_block.1.bias", "blocks.2.conv_block.1.weight_orig", "blocks.2.conv_block.1.weight_u", "blocks.2.conv_block.1.weight_v", "blocks.2.conv_block.4.weight_orig", "blocks.2.conv_block.4.weight", "blocks.2.conv_block.4.weight_u", "blocks.2.conv_block.4.bias", "blocks.2.conv_block.4.weight_orig", "blocks.2.conv_block.4.weight_u", "blocks.2.conv_block.4.weight_v", "blocks.3.conv_block.1.weight_orig", "blocks.3.conv_block.1.weight", "blocks.3.conv_block.1.weight_u", "blocks.3.conv_block.1.bias", "blocks.3.conv_block.1.weight_orig", "blocks.3.conv_block.1.weight_u", "blocks.3.conv_block.1.weight_v", "blocks.3.conv_block.4.weight_orig", "blocks.3.conv_block.4.weight", "blocks.3.conv_block.4.weight_u", "blocks.3.conv_block.4.bias", "blocks.3.conv_block.4.weight_orig", "blocks.3.conv_block.4.weight_u", "blocks.3.conv_block.4.weight_v", "decoder.0.convup.2.weight_orig", "decoder.0.convup.2.weight", "decoder.0.convup.2.weight_u", "decoder.0.convup.2.bias", "decoder.0.convup.2.weight_orig", "decoder.0.convup.2.weight_u", "decoder.0.convup.2.weight_v", "decoder.1.convup.2.weight_orig", "decoder.1.convup.2.weight", "decoder.1.convup.2.weight_u", "decoder.1.convup.2.bias", "decoder.1.convup.2.weight_orig", "decoder.1.convup.2.weight_u", "decoder.1.convup.2.weight_v", "decoder.2.convup.2.weight_orig", "decoder.2.convup.2.weight", "decoder.2.convup.2.weight_u", "decoder.2.convup.2.bias", "decoder.2.convup.2.weight_orig", "decoder.2.convup.2.weight_u", "decoder.2.convup.2.weight_v", "decoder.4.weight", "decoder.4.bias". Unexpected key(s) in state_dict: "encoder_2d.model.1.weight", "encoder_2d.model.2.weight", "encoder_2d.model.2.bias", "encoder_2d.model.2.running_mean", "encoder_2d.model.2.running_var", "encoder_2d.model.2.num_batches_tracked", "encoder_2d.model.4.weight", "encoder_2d.model.5.weight", "encoder_2d.model.5.bias", "encoder_2d.model.5.running_mean", "encoder_2d.model.5.running_var", "encoder_2d.model.5.num_batches_tracked", "encoder_2d.model.7.weight", "encoder_2d.model.8.weight", "encoder_2d.model.8.bias", "encoder_2d.model.8.running_mean", "encoder_2d.model.8.running_var", "encoder_2d.model.8.num_batches_tracked", "encoder_3d.down1.conv.0.weight", "encoder_3d.down1.conv.1.weight", "encoder_3d.down1.conv.1.bias", "encoder_3d.down1.conv.1.running_mean", "encoder_3d.down1.conv.1.running_var", "encoder_3d.down1.conv.1.num_batches_tracked", "encoder_3d.down2.conv.0.weight", "encoder_3d.down2.conv.1.weight", "encoder_3d.down2.conv.1.bias", "encoder_3d.down2.conv.1.running_mean", "encoder_3d.down2.conv.1.running_var", "encoder_3d.down2.conv.1.num_batches_tracked", "encoder_3d.down3.conv.0.weight", "encoder_3d.down3.conv.1.weight", "encoder_3d.down3.conv.1.bias", "encoder_3d.down3.conv.1.running_mean", "encoder_3d.down3.conv.1.running_var", "encoder_3d.down3.conv.1.num_batches_tracked", "encoder_3d.conver2d.0.weight", "encoder_3d.conver2d.1.weight", "encoder_3d.conver2d.1.bias", "encoder_3d.conver2d.1.running_mean", "encoder_3d.conver2d.1.running_var", "encoder_3d.conver2d.1.num_batches_tracked", "decoder_2d.model.0.conv_block.1.weight", "decoder_2d.model.0.conv_block.2.weight", "decoder_2d.model.0.conv_block.2.bias", "decoder_2d.model.0.conv_block.2.running_mean", "decoder_2d.model.0.conv_block.2.running_var", "decoder_2d.model.0.conv_block.2.num_batches_tracked", "decoder_2d.model.0.conv_block.5.weight", "decoder_2d.model.0.conv_block.6.weight", "decoder_2d.model.0.conv_block.6.bias", "decoder_2d.model.0.conv_block.6.running_mean", "decoder_2d.model.0.conv_block.6.running_var", "decoder_2d.model.0.conv_block.6.num_batches_tracked", "decoder_2d.model.1.conv_block.1.weight", "decoder_2d.model.1.conv_block.2.weight", "decoder_2d.model.1.conv_block.2.bias", "decoder_2d.model.1.conv_block.2.running_mean", "decoder_2d.model.1.conv_block.2.running_var", "decoder_2d.model.1.conv_block.2.num_batches_tracked", "decoder_2d.model.1.conv_block.5.weight", "decoder_2d.model.1.conv_block.6.weight", "decoder_2d.model.1.conv_block.6.bias", "decoder_2d.model.1.conv_block.6.running_mean", "decoder_2d.model.1.conv_block.6.running_var", "decoder_2d.model.1.conv_block.6.num_batches_tracked", "decoder_2d.model.2.conv_block.1.weight", "decoder_2d.model.2.conv_block.2.weight", "decoder_2d.model.2.conv_block.2.bias", "decoder_2d.model.2.conv_block.2.running_mean", "decoder_2d.model.2.conv_block.2.running_var", "decoder_2d.model.2.conv_block.2.num_batches_tracked", "decoder_2d.model.2.conv_block.5.weight", "decoder_2d.model.2.conv_block.6.weight", "decoder_2d.model.2.conv_block.6.bias", "decoder_2d.model.2.conv_block.6.running_mean", "decoder_2d.model.2.conv_block.6.running_var", "decoder_2d.model.2.conv_block.6.num_batches_tracked", "decoder_2d.model.3.conv_block.1.weight", "decoder_2d.model.3.conv_block.2.weight", "decoder_2d.model.3.conv_block.2.bias", "decoder_2d.model.3.conv_block.2.running_mean", "decoder_2d.model.3.conv_block.2.running_var", "decoder_2d.model.3.conv_block.2.num_batches_tracked", "decoder_2d.model.3.conv_block.5.weight", "decoder_2d.model.3.conv_block.6.weight", "decoder_2d.model.3.conv_block.6.bias", "decoder_2d.model.3.conv_block.6.running_mean", "decoder_2d.model.3.conv_block.6.running_var", "decoder_2d.model.3.conv_block.6.num_batches_tracked", "decoder_2d.model.4.conv_block.1.weight", "decoder_2d.model.4.conv_block.2.weight", "decoder_2d.model.4.conv_block.2.bias", "decoder_2d.model.4.conv_block.2.running_mean", "decoder_2d.model.4.conv_block.2.running_var", "decoder_2d.model.4.conv_block.2.num_batches_tracked", "decoder_2d.model.4.conv_block.5.weight", "decoder_2d.model.4.conv_block.6.weight", "decoder_2d.model.4.conv_block.6.bias", "decoder_2d.model.4.conv_block.6.running_mean", "decoder_2d.model.4.conv_block.6.running_var", "decoder_2d.model.4.conv_block.6.num_batches_tracked", "decoder_2d.model.5.conv_block.1.weight", "decoder_2d.model.5.conv_block.2.weight", "decoder_2d.model.5.conv_block.2.bias", "decoder_2d.model.5.conv_block.2.running_mean", "decoder_2d.model.5.conv_block.2.running_var", "decoder_2d.model.5.conv_block.2.num_batches_tracked", "decoder_2d.model.5.conv_block.5.weight", "decoder_2d.model.5.conv_block.6.weight", "decoder_2d.model.5.conv_block.6.bias", "decoder_2d.model.5.conv_block.6.running_mean", "decoder_2d.model.5.conv_block.6.running_var", "decoder_2d.model.5.conv_block.6.num_batches_tracked", "decoder_2d.model.6.conv_block.1.weight", "decoder_2d.model.6.conv_block.2.weight", "decoder_2d.model.6.conv_block.2.bias", "decoder_2d.model.6.conv_block.2.running_mean", "decoder_2d.model.6.conv_block.2.running_var", "decoder_2d.model.6.conv_block.2.num_batches_tracked", "decoder_2d.model.6.conv_block.5.weight", "decoder_2d.model.6.conv_block.6.weight", "decoder_2d.model.6.conv_block.6.bias", "decoder_2d.model.6.conv_block.6.running_mean", "decoder_2d.model.6.conv_block.6.running_var", "decoder_2d.model.6.conv_block.6.num_batches_tracked", "decoder_2d.model.7.conv_block.1.weight", "decoder_2d.model.7.conv_block.2.weight", "decoder_2d.model.7.conv_block.2.bias", "decoder_2d.model.7.conv_block.2.running_mean", "decoder_2d.model.7.conv_block.2.running_var", "decoder_2d.model.7.conv_block.2.num_batches_tracked", "decoder_2d.model.7.conv_block.5.weight", "decoder_2d.model.7.conv_block.6.weight", "decoder_2d.model.7.conv_block.6.bias", "decoder_2d.model.7.conv_block.6.running_mean", "decoder_2d.model.7.conv_block.6.running_var", "decoder_2d.model.7.conv_block.6.num_batches_tracked", "decoder_2d.model.8.conv_block.1.weight", "decoder_2d.model.8.conv_block.2.weight", "decoder_2d.model.8.conv_block.2.bias", "decoder_2d.model.8.conv_block.2.running_mean", "decoder_2d.model.8.conv_block.2.running_var", "decoder_2d.model.8.conv_block.2.num_batches_tracked", "decoder_2d.model.8.conv_block.5.weight", "decoder_2d.model.8.conv_block.6.weight", "decoder_2d.model.8.conv_block.6.bias", "decoder_2d.model.8.conv_block.6.running_mean", "decoder_2d.model.8.conv_block.6.running_var", "decoder_2d.model.8.conv_block.6.num_batches_tracked", "decoder_2d.model.11.weight", "decoder_2d.model.11.bias", "decoder_2d.model.12.weight", "decoder_2d.model.12.bias", "decoder_2d.model.12.running_mean", "decoder_2d.model.12.running_var", "decoder_2d.model.12.num_batches_tracked", "decoder_2d.model.16.weight", "decoder_2d.model.16.bias", "decoder_2d.model.17.weight", "decoder_2d.model.17.bias", "decoder_2d.model.17.running_mean", "decoder_2d.model.17.running_var", "decoder_2d.model.17.num_batches_tracked", "shortcut_cov.conv.1.weight", "shortcut_cov.conv.2.weight", "shortcut_cov.conv.2.bias", "shortcut_cov.conv.2.running_mean", "shortcut_cov.conv.2.running_var", "shortcut_cov.conv.2.num_batches_tracked", "merge1.conv.1.weight", "merge1.conv.2.weight", "merge1.conv.2.bias", "merge1.conv.2.running_mean", "merge1.conv.2.running_var", "merge1.conv.2.num_batches_tracked", "merge2.0.conv.1.weight", "merge2.0.conv.2.weight", "merge2.0.conv.2.bias", "merge2.0.conv.2.running_mean", "merge2.0.conv.2.running_var", "merge2.0.conv.2.num_batches_tracked", "merge2.2.weight", "merge2.2.bias". <FrameSummary file deepmosaic.py, line 77 in <module>> <FrameSummary file deepmosaic.py, line 41 in main> <FrameSummary file models\loadmodel.py, line 56 in video> <FrameSummary file torch\nn\modules\module.py, line 1052 in load_state_dict> Please press any key to exit.
You have to make sure you have installed Nvidia driver 460+ , CUDA:11.0
cuda 11.4 and driver 471.43 accuses dll error, only the mentioned driver will work 460 and cuda 11?
I got the same issue, Cuda 11+ and driver 460+
I got the same issue, Cuda 11+ and driver 460+
only cuda 11.0 works.
how to fix this segment parameters: 12.4M
netG parameters: 26.65M
--------------------ERROR--------------------
--------------Environment--------------
DeepMosaics: 0.5.1
Python: 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]
Pytorch: 1.7.1
OpenCV: 4.0.1
Platform: Windows-10-10.0.17763-SP0
--------------BUG--------------
Error Type: <class 'RuntimeError'>
Error(s) in loading state_dict for BVDNet:
Missing key(s) in state_dict: "encoder3d.model.0.weight_orig", "encoder3d.model.0.weight", "encoder3d.model.0.weight_u", "encoder3d.model.0.bias", "encoder3d.model.0.weight_orig", "encoder3d.model.0.weight_u", "encoder3d.model.0.weight_v", "encoder3d.model.2.weight_orig", "encoder3d.model.2.weight", "encoder3d.model.2.weight_u", "encoder3d.model.2.bias", "encoder3d.model.2.weight_orig", "encoder3d.model.2.weight_u", "encoder3d.model.2.weight_v", "encoder3d.model.4.weight_orig", "encoder3d.model.4.weight", "encoder3d.model.4.weight_u", "encoder3d.model.4.bias", "encoder3d.model.4.weight_orig", "encoder3d.model.4.weight_u", "encoder3d.model.4.weight_v", "encoder3d.model.6.weight_orig", "encoder3d.model.6.weight", "encoder3d.model.6.weight_u", "encoder3d.model.6.bias", "encoder3d.model.6.weight_orig", "encoder3d.model.6.weight_u", "encoder3d.model.6.weight_v", "encoder2d.model.1.weight_orig", "encoder2d.model.1.weight", "encoder2d.model.1.weight_u", "encoder2d.model.1.bias", "encoder2d.model.1.weight_orig", "encoder2d.model.1.weight_u", "encoder2d.model.1.weight_v", "encoder2d.model.4.weight_orig", "encoder2d.model.4.weight", "encoder2d.model.4.weight_u", "encoder2d.model.4.bias", "encoder2d.model.4.weight_orig", "encoder2d.model.4.weight_u", "encoder2d.model.4.weight_v", "encoder2d.model.7.weight_orig", "encoder2d.model.7.weight", "encoder2d.model.7.weight_u", "encoder2d.model.7.bias", "encoder2d.model.7.weight_orig", "encoder2d.model.7.weight_u", "encoder2d.model.7.weight_v", "encoder2d.model.10.weight_orig", "encoder2d.model.10.weight", "encoder2d.model.10.weight_u", "encoder2d.model.10.bias", "encoder2d.model.10.weight_orig", "encoder2d.model.10.weight_u", "encoder2d.model.10.weight_v", "blocks.0.conv_block.1.weight_orig", "blocks.0.conv_block.1.weight", "blocks.0.conv_block.1.weight_u", "blocks.0.conv_block.1.bias", "blocks.0.conv_block.1.weight_orig", "blocks.0.conv_block.1.weight_u", "blocks.0.conv_block.1.weight_v", "blocks.0.conv_block.4.weight_orig", "blocks.0.conv_block.4.weight", "blocks.0.conv_block.4.weight_u", "blocks.0.conv_block.4.bias", "blocks.0.conv_block.4.weight_orig", "blocks.0.conv_block.4.weight_u", "blocks.0.conv_block.4.weight_v", "blocks.1.conv_block.1.weight_orig", "blocks.1.conv_block.1.weight", "blocks.1.conv_block.1.weight_u", "blocks.1.conv_block.1.bias", "blocks.1.conv_block.1.weight_orig", "blocks.1.conv_block.1.weight_u", "blocks.1.conv_block.1.weight_v", "blocks.1.conv_block.4.weight_orig", "blocks.1.conv_block.4.weight", "blocks.1.conv_block.4.weight_u", "blocks.1.conv_block.4.bias", "blocks.1.conv_block.4.weight_orig", "blocks.1.conv_block.4.weight_u", "blocks.1.conv_block.4.weight_v", "blocks.2.conv_block.1.weight_orig", "blocks.2.conv_block.1.weight", "blocks.2.conv_block.1.weight_u", "blocks.2.conv_block.1.bias", "blocks.2.conv_block.1.weight_orig", "blocks.2.conv_block.1.weight_u", "blocks.2.conv_block.1.weight_v", "blocks.2.conv_block.4.weight_orig", "blocks.2.conv_block.4.weight", "blocks.2.conv_block.4.weight_u", "blocks.2.conv_block.4.bias", "blocks.2.conv_block.4.weight_orig", "blocks.2.conv_block.4.weight_u", "blocks.2.conv_block.4.weight_v", "blocks.3.conv_block.1.weight_orig", "blocks.3.conv_block.1.weight", "blocks.3.conv_block.1.weight_u", "blocks.3.conv_block.1.bias", "blocks.3.conv_block.1.weight_orig", "blocks.3.conv_block.1.weight_u", "blocks.3.conv_block.1.weight_v", "blocks.3.conv_block.4.weight_orig", "blocks.3.conv_block.4.weight", "blocks.3.conv_block.4.weight_u", "blocks.3.conv_block.4.bias", "blocks.3.conv_block.4.weight_orig", "blocks.3.conv_block.4.weight_u", "blocks.3.conv_block.4.weight_v", "decoder.0.convup.2.weight_orig", "decoder.0.convup.2.weight", "decoder.0.convup.2.weight_u", "decoder.0.convup.2.bias", "decoder.0.convup.2.weight_orig", "decoder.0.convup.2.weight_u", "decoder.0.convup.2.weight_v", "decoder.1.convup.2.weight_orig", "decoder.1.convup.2.weight", "decoder.1.convup.2.weight_u", "decoder.1.convup.2.bias", "decoder.1.convup.2.weight_orig", "decoder.1.convup.2.weight_u", "decoder.1.convup.2.weight_v", "decoder.2.convup.2.weight_orig", "decoder.2.convup.2.weight", "decoder.2.convup.2.weight_u", "decoder.2.convup.2.bias", "decoder.2.convup.2.weight_orig", "decoder.2.convup.2.weight_u", "decoder.2.convup.2.weight_v", "decoder.4.weight", "decoder.4.bias".
Unexpected key(s) in state_dict: "encoder_2d.model.1.weight", "encoder_2d.model.1.bias", "encoder_2d.model.5.weight", "encoder_2d.model.5.bias", "encoder_2d.model.9.weight", "encoder_2d.model.9.bias", "encoder_2d.model.13.weight", "encoder_2d.model.13.bias", "encoder_2d.model.17.weight", "encoder_2d.model.17.bias", "encoder_3d.inconv.conv.0.weight", "encoder_3d.inconv.conv.0.bias", "encoder_3d.down1.conv.0.weight", "encoder_3d.down1.conv.0.bias", "encoder_3d.down2.conv.0.weight", "encoder_3d.down2.conv.0.bias", "encoder_3d.down3.conv.0.weight", "encoder_3d.down3.conv.0.bias", "encoder_3d.down4.conv.0.weight", "encoder_3d.down4.conv.0.bias", "decoder_2d.model.0.conv_block.1.weight", "decoder_2d.model.0.conv_block.1.bias", "decoder_2d.model.0.conv_block.5.weight", "decoder_2d.model.0.conv_block.5.bias", "decoder_2d.model.1.conv_block.1.weight", "decoder_2d.model.1.conv_block.1.bias", "decoder_2d.model.1.conv_block.5.weight", "decoder_2d.model.1.conv_block.5.bias", "decoder_2d.model.2.conv_block.1.weight", "decoder_2d.model.2.conv_block.1.bias", "decoder_2d.model.2.conv_block.5.weight", "decoder_2d.model.2.conv_block.5.bias", "decoder_2d.model.3.conv_block.1.weight", "decoder_2d.model.3.conv_block.1.bias", "decoder_2d.model.3.conv_block.5.weight", "decoder_2d.model.3.conv_block.5.bias", "decoder_2d.model.4.conv_block.1.weight", "decoder_2d.model.4.conv_block.1.bias", "decoder_2d.model.4.conv_block.5.weight", "decoder_2d.model.4.conv_block.5.bias", "decoder_2d.model.5.conv_block.1.weight", "decoder_2d.model.5.conv_block.1.bias", "decoder_2d.model.5.conv_block.5.weight", "decoder_2d.model.5.conv_block.5.bias", "decoder_2d.model.6.conv_block.1.weight", "decoder_2d.model.6.conv_block.1.bias", "decoder_2d.model.6.conv_block.5.weight", "decoder_2d.model.6.conv_block.5.bias", "decoder_2d.model.7.conv_block.1.weight", "decoder_2d.model.7.conv_block.1.bias", "decoder_2d.model.7.conv_block.5.weight", "decoder_2d.model.7.conv_block.5.bias", "decoder_2d.model.8.conv_block.1.weight", "decoder_2d.model.8.conv_block.1.bias", "decoder_2d.model.8.conv_block.5.weight", "decoder_2d.model.8.conv_block.5.bias", "decoder_2d.model.9.weight", "decoder_2d.model.9.bias", "decoder_2d.model.12.weight", "decoder_2d.model.12.bias", "decoder_2d.model.15.weight", "decoder_2d.model.15.bias", "decoder_2d.model.18.weight", "decoder_2d.model.18.bias", "decoder_2d.model.22.weight", "decoder_2d.model.22.bias", "merge1.conv.1.weight", "merge1.conv.1.bias".
<FrameSummary file deepmosaic.py, line 77 in
I have the same error.
Same error :( Even down to the sizes
segment parameters: 12.4M
netG parameters: 26.65M
Full error below
D:\DeepMosaics_0.5.1_gpu\core\torchvision\__init__.py:26: UserWarning: You are importing torchvision within its own root folder (D:\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.
segment parameters: 12.4M
netG parameters: 26.65M
--------------------ERROR--------------------
--------------Environment--------------
DeepMosaics: 0.5.1
Python: 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
Pytorch: 1.7.1
OpenCV: 4.1.2
Platform: Windows-10-10.0.19041-SP0
--------------BUG--------------
Error Type: <class 'RuntimeError'>
Error(s) in loading state_dict for BVDNet:
Missing key(s) in state_dict: "encoder3d.model.0.weight_orig", "encoder3d.model.0.weight", "encoder3d.model.0.weight_u", "encoder3d.model.0.bias", "encoder3d.model.0.weight_orig", "encoder3d.model.0.weight_u", "encoder3d.model.0.weight_v", "encoder3d.model.2.weight_orig", "encoder3d.model.2.weight", "encoder3d.model.2.weight_u", "encoder3d.model.2.bias", "encoder3d.model.2.weight_orig", "encoder3d.model.2.weight_u", "encoder3d.model.2.weight_v", "encoder3d.model.4.weight_orig", "encoder3d.model.4.weight", "encoder3d.model.4.weight_u", "encoder3d.model.4.bias", "encoder3d.model.4.weight_orig", "encoder3d.model.4.weight_u", "encoder3d.model.4.weight_v", "encoder3d.model.6.weight_orig", "encoder3d.model.6.weight", "encoder3d.model.6.weight_u", "encoder3d.model.6.bias", "encoder3d.model.6.weight_orig", "encoder3d.model.6.weight_u", "encoder3d.model.6.weight_v", "encoder2d.model.1.weight_orig", "encoder2d.model.1.weight", "encoder2d.model.1.weight_u", "encoder2d.model.1.bias", "encoder2d.model.1.weight_orig", "encoder2d.model.1.weight_u", "encoder2d.model.1.weight_v", "encoder2d.model.4.weight_orig", "encoder2d.model.4.weight", "encoder2d.model.4.weight_u", "encoder2d.model.4.bias", "encoder2d.model.4.weight_orig", "encoder2d.model.4.weight_u", "encoder2d.model.4.weight_v", "encoder2d.model.7.weight_orig", "encoder2d.model.7.weight", "encoder2d.model.7.weight_u", "encoder2d.model.7.bias", "encoder2d.model.7.weight_orig", "encoder2d.model.7.weight_u", "encoder2d.model.7.weight_v", "encoder2d.model.10.weight_orig", "encoder2d.model.10.weight", "encoder2d.model.10.weight_u", "encoder2d.model.10.bias", "encoder2d.model.10.weight_orig", "encoder2d.model.10.weight_u", "encoder2d.model.10.weight_v", "blocks.0.conv_block.1.weight_orig", "blocks.0.conv_block.1.weight", "blocks.0.conv_block.1.weight_u", "blocks.0.conv_block.1.bias", "blocks.0.conv_block.1.weight_orig", "blocks.0.conv_block.1.weight_u", "blocks.0.conv_block.1.weight_v", "blocks.0.conv_block.4.weight_orig", "blocks.0.conv_block.4.weight", "blocks.0.conv_block.4.weight_u", "blocks.0.conv_block.4.bias", "blocks.0.conv_block.4.weight_orig", "blocks.0.conv_block.4.weight_u", "blocks.0.conv_block.4.weight_v", "blocks.1.conv_block.1.weight_orig", "blocks.1.conv_block.1.weight", "blocks.1.conv_block.1.weight_u", "blocks.1.conv_block.1.bias", "blocks.1.conv_block.1.weight_orig", "blocks.1.conv_block.1.weight_u", "blocks.1.conv_block.1.weight_v", "blocks.1.conv_block.4.weight_orig", "blocks.1.conv_block.4.weight", "blocks.1.conv_block.4.weight_u", "blocks.1.conv_block.4.bias", "blocks.1.conv_block.4.weight_orig", "blocks.1.conv_block.4.weight_u", "blocks.1.conv_block.4.weight_v", "blocks.2.conv_block.1.weight_orig", "blocks.2.conv_block.1.weight", "blocks.2.conv_block.1.weight_u", "blocks.2.conv_block.1.bias", "blocks.2.conv_block.1.weight_orig", "blocks.2.conv_block.1.weight_u", "blocks.2.conv_block.1.weight_v", "blocks.2.conv_block.4.weight_orig", "blocks.2.conv_block.4.weight", "blocks.2.conv_block.4.weight_u", "blocks.2.conv_block.4.bias", "blocks.2.conv_block.4.weight_orig", "blocks.2.conv_block.4.weight_u", "blocks.2.conv_block.4.weight_v", "blocks.3.conv_block.1.weight_orig", "blocks.3.conv_block.1.weight", "blocks.3.conv_block.1.weight_u", "blocks.3.conv_block.1.bias", "blocks.3.conv_block.1.weight_orig", "blocks.3.conv_block.1.weight_u", "blocks.3.conv_block.1.weight_v", "blocks.3.conv_block.4.weight_orig", "blocks.3.conv_block.4.weight", "blocks.3.conv_block.4.weight_u", "blocks.3.conv_block.4.bias", "blocks.3.conv_block.4.weight_orig", "blocks.3.conv_block.4.weight_u", "blocks.3.conv_block.4.weight_v", "decoder.0.convup.2.weight_orig", "decoder.0.convup.2.weight", "decoder.0.convup.2.weight_u", "decoder.0.convup.2.bias", "decoder.0.convup.2.weight_orig", "decoder.0.convup.2.weight_u", "decoder.0.convup.2.weight_v", "decoder.1.convup.2.weight_orig", "decoder.1.convup.2.weight", "decoder.1.convup.2.weight_u", "decoder.1.convup.2.bias", "decoder.1.convup.2.weight_orig", "decoder.1.convup.2.weight_u", "decoder.1.convup.2.weight_v", "decoder.2.convup.2.weight_orig", "decoder.2.convup.2.weight", "decoder.2.convup.2.weight_u", "decoder.2.convup.2.bias", "decoder.2.convup.2.weight_orig", "decoder.2.convup.2.weight_u", "decoder.2.convup.2.weight_v", "decoder.4.weight", "decoder.4.bias".
Unexpected key(s) in state_dict: "encoder_2d.model.1.weight", "encoder_2d.model.1.bias", "encoder_2d.model.5.weight", "encoder_2d.model.5.bias", "encoder_2d.model.9.weight", "encoder_2d.model.9.bias", "encoder_2d.model.13.weight", "encoder_2d.model.13.bias", "encoder_2d.model.17.weight", "encoder_2d.model.17.bias", "encoder_3d.inconv.conv.0.weight", "encoder_3d.inconv.conv.0.bias", "encoder_3d.down1.conv.0.weight", "encoder_3d.down1.conv.0.bias", "encoder_3d.down2.conv.0.weight", "encoder_3d.down2.conv.0.bias", "encoder_3d.down3.conv.0.weight", "encoder_3d.down3.conv.0.bias", "encoder_3d.down4.conv.0.weight", "encoder_3d.down4.conv.0.bias", "decoder_2d.model.0.conv_block.1.weight", "decoder_2d.model.0.conv_block.1.bias", "decoder_2d.model.0.conv_block.5.weight", "decoder_2d.model.0.conv_block.5.bias", "decoder_2d.model.1.conv_block.1.weight", "decoder_2d.model.1.conv_block.1.bias", "decoder_2d.model.1.conv_block.5.weight", "decoder_2d.model.1.conv_block.5.bias", "decoder_2d.model.2.conv_block.1.weight", "decoder_2d.model.2.conv_block.1.bias", "decoder_2d.model.2.conv_block.5.weight", "decoder_2d.model.2.conv_block.5.bias", "decoder_2d.model.3.conv_block.1.weight", "decoder_2d.model.3.conv_block.1.bias", "decoder_2d.model.3.conv_block.5.weight", "decoder_2d.model.3.conv_block.5.bias", "decoder_2d.model.4.conv_block.1.weight", "decoder_2d.model.4.conv_block.1.bias", "decoder_2d.model.4.conv_block.5.weight", "decoder_2d.model.4.conv_block.5.bias", "decoder_2d.model.5.conv_block.1.weight", "decoder_2d.model.5.conv_block.1.bias", "decoder_2d.model.5.conv_block.5.weight", "decoder_2d.model.5.conv_block.5.bias", "decoder_2d.model.6.conv_block.1.weight", "decoder_2d.model.6.conv_block.1.bias", "decoder_2d.model.6.conv_block.5.weight", "decoder_2d.model.6.conv_block.5.bias", "decoder_2d.model.7.conv_block.1.weight", "decoder_2d.model.7.conv_block.1.bias", "decoder_2d.model.7.conv_block.5.weight", "decoder_2d.model.7.conv_block.5.bias", "decoder_2d.model.8.conv_block.1.weight", "decoder_2d.model.8.conv_block.1.bias", "decoder_2d.model.8.conv_block.5.weight", "decoder_2d.model.8.conv_block.5.bias", "decoder_2d.model.9.weight", "decoder_2d.model.9.bias", "decoder_2d.model.12.weight", "decoder_2d.model.12.bias", "decoder_2d.model.15.weight", "decoder_2d.model.15.bias", "decoder_2d.model.18.weight", "decoder_2d.model.18.bias", "decoder_2d.model.22.weight", "decoder_2d.model.22.bias", "merge1.conv.1.weight", "merge1.conv.1.bias".
<FrameSummary file deepmosaic.py, line 77 in <module>>
<FrameSummary file deepmosaic.py, line 41 in main>
<FrameSummary file models\loadmodel.py, line 56 in video>
<FrameSummary file torch\nn\modules\module.py, line 1052 in load_state_dict>
Please press any key to exit.
Which model are you using?
Estou usando o modelo "clean_youknow_video.pth" Pada Rab, 10 Jan 2024 07.41, gerfersoncoelho @.> menulis: … Qual modelo você está usando? - Responda a este e-mail diretamente, visualize-o no GitHub < # 58 (comentário) > ou cancele a inscrição < https://github.com/notifications/unsubscribe-auth/BFBRZIBNKKJHNKBWGTKPNJTYNXPSHAVCNFSM46A5DDAKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGQYDCMZWGY3Q > . Você está recebendo isso porque comentou.ID da mensagem: @.>
version 0.5.1 GPU or CPU?
At first, check if the mosaic_position.pth is in the same folder as the model
It is in the same dir and I have the same errors.
Ok I fixed it and I know what I did wrong so I am sure its the same issue with @ontoseno123 You are using old models.
Use these ones https://drive.google.com/drive/folders/1I3qw6IzbKZ7MVfzDS3cs_9g7EAdT-GuH
You probably used these ones https://drive.google.com/drive/folders/1YbYBiqtYsOskVNuv6MYTWXD4ZozUJ_wL
The easiest way to know for sure is check if you have a clean_youknow_video_HD.pth
file in your mosaic folder. That's the old set, there is no separate HD or normal ones in the new set.
Hope that helps!
hi. when i click run on GUI version a popup Terminal will show up that say "DeepMosaics_0.5.0_gpu_windows_amd64\DeepMosaics_V0.5.0_gpu\core\torch\lib\caffe2_detectron_ops_gpu.dll" or one of its dependencies. Please press any key to exit." how i should fix it?