Deep-daze config CUDA

1. Deep-daze config CUDA

caique henrique barreto
Xuyzes

(usa Kali)

Enviado em 25/10/2021 - 18:25h

Boa Tarde Pessoal, alguem pode me ajudar por favor a configurar essa solicitação no deep-daze


..................................................................................................................................>>

Traceback (most recent call last):
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\Scripts\imagine.exe\__main__.py", line 7, in <module>
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\deep_daze\cli.py", line 151, in main
fire.Fire(train)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\deep_daze\cli.py", line 147, in train
imagine()
File "C:\Users\caique\AppData\Roaming\Python\Python39\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\deep_daze\deep_daze.py", line 584, in forward
_, loss = self.train_step(epoch, i)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\deep_daze\deep_daze.py", line 505, in train_step
out, loss = self.model(self.clip_encoding)
File "C:\Users\caique\AppData\Roaming\Python\Python39\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\deep_daze\deep_daze.py", line 200, in forward
out = self.model()
File "C:\Users\caique\AppData\Roaming\Python\Python39\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\siren_pytorch\siren_pytorch.py", line 148, in forward
out = self.net(coords, mods)
File "C:\Users\caique\AppData\Roaming\Python\Python39\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\siren_pytorch\siren_pytorch.py", line 83, in forward
x = layer(x)
File "C:\Users\caique\AppData\Roaming\Python\Python39\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\siren_pytorch\siren_pytorch.py", line 51, in forward
out = self.activation(out)
File "C:\Users\caique\AppData\Roaming\Python\Python39\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Users\caique\AppData\Local\Programs\Python\Python39\lib\site-packages\siren_pytorch\siren_pytorch.py", line 22, in forward
return torch.sin(self.w0 * x)
RuntimeError: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 4.00 GiB total capacity; 2.84 GiB already allocated; 0 bytes free; 2.87 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts