Deep-Photo-Enhancer icon indicating copy to clipboard operation
Deep-Photo-Enhancer copied to clipboard

Out Of Memory

Open XuRongYan opened this issue 5 years ago • 5 comments

Dear nothinglo, Thank you for sharing your code! When I ran [Experimental_Code_Data], it soon got an OOM. here is my GPU information: name: TITAN Xp major: 6 minor: 1 memoryClockRate (GHz) 1.582 pciBusID 0000:01:00.0 Total memory: 11.91GiB Free memory: 11.36GiB But [Experimental_Supervised_Code] works well. Can someone help me?

XuRongYan avatar Mar 01 '19 07:03 XuRongYan

Have you reduced batch size in DATA.py?

odgiv avatar Apr 12 '19 09:04 odgiv

@XuRongYan do you have solve this problem?please tell me your method,thank you! i set batch_size = 1 and my GPU memory only 2.0GB , can i train this project by GPU?

GentlemanWally avatar May 23 '19 03:05 GentlemanWally

could you please tell me how to run Expeimental_Supervised_Code?I meam how to prepare the data and txt files.

marvellousxf avatar Aug 01 '19 06:08 marvellousxf

Hi,

When I run the TF.py in the "[Online_Demo_Models]_Deep-Photo-Enhancer/LPGAN_exp_G3_736" file, I face this error:

Shapes (2, 1, 32, 32, 128) and () are incompatible

in line: netG_test_output1 = model(netG, test_df.input1, False, netG_act_o, is_first=True)

Would you mind helping me with it? Thank you in advance.

Youlenda avatar Jul 11 '21 05:07 Youlenda