VisiumCH / AMLD2020-Dirty-GANcing

AMLD 2020
18 stars 13 forks source link

FileNotFoundError:[Error 2] No such file or directory: './checkpoints/test\\iter.json #8

Closed justinjohn0306 closed 4 years ago

justinjohn0306 commented 4 years ago

Capture

Please send me this .json file or test me how to fix this

Gramet commented 4 years ago

Hello @justinjohn0306 ,

It looks like it's trying to load a pre-existing run, but can't find the iter.json file to resume the epochs. Either you deleted it by accident or there was a problem with an earlier run. I would suggest you delete the checkpoints/test directory so it doesn't attempt to resume a training that doesn't exist, this should solve the issue. Let me know if that fixes the issue

justinjohn0306 commented 4 years ago

Returned with new error

On Fri, Oct 2, 2020 at 12:39 PM Gaétan Ramet notifications@github.com wrote:

Hello @justinjohn0306 https://github.com/justinjohn0306 ,

It looks like it's trying to load a pre-existing run, but can't find the iter.json file to resume the epochs. Either you deleted it by accident or there was a problem with an earlier run. I would suggest you delete the checkpoints/test directory so it doesn't attempt to resume a training that doesn't exist, this should solve the issue. Let me know if that fixes the issue

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VisiumCH/AMLD2020-Dirty-GANcing/issues/8#issuecomment-702566747, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDVKQ5VXSBPINKJEETB2ALSIV4DXANCNFSM4SBDTROA .

justinjohn0306 commented 4 years ago

Hello @justinjohn0306 ,

It looks like it's trying to load a pre-existing run, but can't find the iter.json file to resume the epochs. Either you deleted it by accident or there was a problem with an earlier run. I would suggest you delete the checkpoints/test directory so it doesn't attempt to resume a training that doesn't exist, this should solve the issue. Let me know if that fixes the issue

Capture

Returned with new error

Gramet commented 4 years ago

Did you delete the test directory or the whole checkpoints directory? I think you need the checkpoints directory to exist for this to work.

Gramet commented 4 years ago

Actually I just realized that you are on Windows, it might just be a path issue... Try to change the forward slashes of the variables defined in config/train_opt.py to backward slashes so the path work on Windows.

justinjohn0306 commented 4 years ago

I kept checkpoints directory

On Fri 2 Oct, 2020, 5:13 PM Gaétan Ramet, notifications@github.com wrote:

Did you delete the test directory or the whole checkpoints directory? I think you need the checkpoints directory to exist for this to work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VisiumCH/AMLD2020-Dirty-GANcing/issues/8#issuecomment-702686944, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDVKQ53IRT2ULWTGWRZXF3SIW4GNANCNFSM4SBDTROA .

Gramet commented 4 years ago

Hello @justinjohn0306

Did you manage to get it to work with the Windows forward slashes?

justinjohn0306 commented 4 years ago

Hello @justinjohn0306

Did you manage to get it to work with the Windows forward slashes?

yup everything's A ok