domain-transfer-network icon indicating copy to clipboard operation
domain-transfer-network copied to clipboard

MemoryError solver.py load_svhn

Open pageedward opened this issue 7 years ago • 5 comments

File "/home/page/wp/domain-transfer-network/solver.py", line 41, in load_svhn images = np.transpose(svhn['X'], [3, 0, 1, 2]) / 127.5 - 1 MemoryError

pageedward avatar Jun 08 '17 15:06 pageedward

your GPU memory is small

Mengmengbai avatar Sep 04 '17 07:09 Mengmengbai

are there any solutions to this? is it possible to solve it with some optimizations?

mstfldmr avatar Dec 14 '17 21:12 mstfldmr

I also got the same error

anmolduainter avatar Mar 30 '18 13:03 anmolduainter

is there any solution to this problem?

anmolduainter avatar Mar 30 '18 14:03 anmolduainter

images = np.transpose(svhn['X'], [3, 0, 1, 2]) for x in np.nditer(images, op_flags = ['readwrite']):

  `x[...] = x / 127.5 - 1`

411066282 avatar Jul 26 '18 08:07 411066282