Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Having some trouble

A topic by extrafantasygames created Jan 29, 2020 Views: 916 Replies: 2
Viewing posts 1 to 3

Tool keeps crashing, the message I get is:

Interpolate 1 frames
The testing model weight is: ./model_weights/best.pth
Framerate Index: 2
Traceback (most recent call last):
  File "my_design.py", line 79, in render
  File "my_DAIN_class.py", line 469, in RenderVideo
  File "my_DAIN_class.py", line 202, in interpolate
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "networks\DAIN_slowmotion.py", line 129, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "site-packages\torch\nn\modules\container.py", line 92, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "site-packages\torch\nn\modules\container.py", line 92, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "MegaDepth\pytorch_DIW_scratch.py", line 24, in forward
  File "MegaDepth\pytorch_DIW_scratch.py", line 15, in forward_prepare
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "site-packages\torch\nn\modules\container.py", line 92, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "MegaDepth\pytorch_DIW_scratch.py", line 28, in forward
  File "MegaDepth\pytorch_DIW_scratch.py", line 15, in forward_prepare
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "site-packages\torch\nn\modules\container.py", line 92, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "site-packages\torch\nn\modules\batchnorm.py", line 81, in forward
  File "site-packages\torch\nn\functional.py", line 1670, in batch_norm
RuntimeError: CUDA out of memory. Tried to allocate 504.00 MiB (GPU 0; 4.00 GiB total capacity; 2.32 GiB already allocated; 201.86 MiB free; 452.36 MiB cached)

Developer (1 edit) (+1)

The resolution is to big for the app, you need to resize it down to work.

Edit: I'm trying to work on a solution.

Awesome. I shrunk it a ton and was still having trouble. It could be user error.