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

Result images are being overwritten

Open l1x opened this issue 4 years ago • 0 comments

I think that the result images are overwritten.

I have a simple bash script that syncs the result folder to s3 and I see in the logs the following:

Mon Apr 12 10:24:56 UTC 2021
upload: models/fast/.config.json to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/models/fast/.config.json
upload: models/fast/model_15.pt to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/models/fast/model_15.pt
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
Mon Apr 12 10:28:59 UTC 2021
Mon Apr 12 10:33:00 UTC 2021
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
Mon Apr 12 10:37:02 UTC 2021
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
Mon Apr 12 10:41:04 UTC 2021
Mon Apr 12 10:45:06 UTC 2021
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
Mon Apr 12 10:49:08 UTC 2021
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
Mon Apr 12 10:53:09 UTC 2021
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
Mon Apr 12 10:57:11 UTC 2021
Mon Apr 12 11:01:13 UTC 2021
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
Mon Apr 12 11:05:15 UTC 2021
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
Mon Apr 12 11:09:16 UTC 2021
Mon Apr 12 11:13:18 UTC 2021
upload: results/fast/15-ema.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15-ema.jpg
upload: results/fast/15.jpg to s3://dev.ml.datadeft.eu/mxnet-dcgan/lightweight-gan/results/fast/15.jpg

It looks like the file is being overwritten. I could not find the corresponding code yet in Python. Maybe I am missing something...

l1x avatar Apr 12 '21 11:04 l1x