lightweight-gan icon indicating copy to clipboard operation
lightweight-gan copied to clipboard

Run in Colab

Open MyaMashudi opened this issue 3 years ago • 5 comments

Hi. Can light-weight GAN runs in Colab?

MyaMashudi avatar Jan 12 '21 13:01 MyaMashudi

Yes.

woctezuma avatar Jan 12 '21 13:01 woctezuma

Yes.

I have tried running this code: ! lightweight_gan --data ./path/to/images --image-size 512

But it took more than a day and it is stuck between 60% to 70%. I have tried several times running the code, the problem is still the same.

MyaMashudi avatar Jan 12 '21 13:01 MyaMashudi

After 0.16.1 I sometimes catch stucks (with 100% usage of GPU) but rerun helps to me. On my PC, not Colab.

Dok11 avatar Jan 12 '21 14:01 Dok11

After 0.16.1 I sometimes catch stucks (with 100% usage of GPU) but rerun helps to me. On my PC, not Colab.

I'm still running it, but I reduce the batch-size. Hope it is going to work fine.

MyaMashudi avatar Jan 12 '21 14:01 MyaMashudi

I'm still running it, but I reduce the batch-size. Hope it is going to work fine.

As I think the batch size dont relative to stucks. Reducing the batch size is valid only if GPU memory dont enough, keep batch size as large as you can

Dok11 avatar Jan 12 '21 14:01 Dok11