Open AmmarkoV opened 7 years ago
Tried it again on a GPU GTX-970 with 4GB RAM and have the same behaviour even when resizing images/skrik.jpg to 288x400 and for a 300x200 input..
Getting the exact same behaviour from python test.py
At peak this is what NVIDIA-SMI is printing so it is 0.6/4GB usage so memory is not an issue..
Thu Feb 23 18:07:44 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.57 Driver Version: 367.57 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 970 Off | 0000:01:00.0 On | N/A |
| 29% 66C P2 90W / 163W | 638MiB / 4028MiB | 50% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1226 G /usr/lib/xorg/Xorg 125MiB | | 0 2056 G /usr/lib/firefox/plugin-container 2MiB | | 0 2195 C python 507MiB | +-----------------------------------------------------------------------------+ GPU 0000:01:00.0: Detected Critical Xid Error
Reducing size of the a_np
array worked for me: Use e.g. size 256 instead of 1024:
a_np = np.random.normal(size=(256,))
While trying to run the examples "python test.py"
I get the following output
I think this is the same issue as : https://github.com/andersbll/neural_artistic_style/issues/48 and https://github.com/andersbll/neural_artistic_style/issues/21
nvidia-smi output is the following so 1.5GB total the images I am trying to run are 200x130 and 200x277
Any help is welcome :)