-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherr.txt
More file actions
16 lines (16 loc) · 1.17 KB
/
Copy patherr.txt
File metadata and controls
16 lines (16 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Traceback (most recent call last):
File "C:\Users\sayal\OneDrive\Desktop\inceptrix\test_blurguard_cpu.py", line 13, in <module>
out = protector.protect(x)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sayal\OneDrive\Desktop\inceptrix\ml\protection\blurguard.py", line 727, in protect
self._optimize_sigma(x, init_delta, region_masks)
File "C:\Users\sayal\OneDrive\Desktop\inceptrix\ml\protection\blurguard.py", line 552, in _optimize_sigma
freq_loss.backward()
File "C:\Users\sayal\AppData\Roaming\Python\Python311\site-packages\torch\_tensor.py", line 630, in backward
torch.autograd.backward(
File "C:\Users\sayal\AppData\Roaming\Python\Python311\site-packages\torch\autograd\__init__.py", line 364, in backward
_engine_run_backward(
File "C:\Users\sayal\AppData\Roaming\Python\Python311\site-packages\torch\autograd\graph.py", line 865, in _engine_run_backward
return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn