Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

What am I doing wrong?

A topic by Arsen_Net created Jan 24, 2020 Views: 1,985 Replies: 2
Viewing posts 1 to 3

I migth not be the fist one to ask this but i cant find an answer to this, im not quite sure why its happenin buuuuut here we are...

the program starts render but display this error and then closes.... Any ideas of how i can fix this?


PC Settings-----------------------------------------------------------------

AMD Ryzen 7 2700x     8-core processor

8GB RAM

Windows 10

GeForce RTX 2070


ERROR ----------------------------------------------------------------------

cudnn is used
OK
C:/Users/Ulises/Desktop/DAIN/Zero 12fps.gif
Input FPS: 9.166666666666666
C:/Users/Ulises/Desktop/DAIN
C:/Users/Ulises/Desktop/DAIN/Zero 12fps.gif
C:/Users/Ulises/Desktop/DAIN/Zero 12fps//Zero 12fps.mp4
9.0
0
0
0
Interpolate 1 frames
The testing model weight is: ./model_weights/best.pth
Framerate Index: 0
C:\Users\Ulises\Desktop\DAIN\DAIN_APP Alpha\torch\nn\functional.py:2494: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
C:\Users\Ulises\Desktop\DAIN\DAIN_APP Alpha\torch\nn\functional.py:2693: UserWarning: Default grid_sample and affine_grid behavior will be changed to align_corners=False from 1.4.0. See the documentation of grid_sample for details.
  warnings.warn("Default grid_sample and affine_grid behavior will be changed "
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
..\torch\csrc\autograd\python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
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 182, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "Resblock\BasicBlock.py", line 82, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "Resblock\BasicBlock.py", line 36, in forward
  File "site-packages\torch\nn\modules\module.py", line 541, in __call__
  File "site-packages\torch\nn\modules\conv.py", line 345, in forward
  File "site-packages\torch\nn\modules\conv.py", line 342, in conv2d_forward
RuntimeError: CUDA out of memory. Tried to allocate 512.00 MiB (GPU 0; 8.00 GiB total capacity; 5.73 GiB already allocated; 262.97 MiB free; 71.76 MiB cached)

Developer

This happen if the resolution of the video is to big for your free memory. You have to make it a lower resolution.

Yeah. i do some stuff to get more memory (just a few more) and it work!!!  THIS IS THE BEST APP Its amazing even in this early version 10/10 thanks a lot