Closed tomriddle54 closed 5 years ago
Make the './ckpt' dir in SC-FEGAN project folder plz.
Have you solved this problem
Yes I have solved this issue
Please tell me how you solved it.
I create ckpt dir and pasted the model files there
I am the CKPT directory created under the SC-FEGAN project, but I still report an error.
Can I see your demo.yaml?
you need to give SC-FEGAN.ckpt
name on yaml here is my yaml
INPUT_SIZE: 512
BATCH_SIZE: 1
GPU_NUM: 1
# directories
CKPT_DIR: 'ckpt/SC-FEGAN.ckpt'
Thank you for your help. I think I've found the reason.
What was the reason write it down so this can help others
I have just solved this question. this is my filename: model.ckpt-100000.data-00000-of-00001 and shell command: python run pretraining --init_checkpoint=./ckpt/model.ckpt-100000
so, when you enter the file name, you just ignore the .data-00000-of-00001
Dooray! Failure Notice
Failure Notice
Your message sent to
@.*** has failed to be delivered.
Please refer to the below for details.
* Recipient :
@.***
* Sent time :
2021-04-22T14:31:55
* Subject :
Re: [run-youngjoo/SC-FEGAN] ValueError: Couldn't find 'checkpoint' file or checkpoints in given directory /home/mustafa/ckpt (#30)
* Remote host said :
Requested action not taken: mailbox unavailable
This message was sent from a notification-only address that cannot accept incoming email.
For more information, please contact ***@***.***
© Dooray!.
I fixed the error, your files should be called "model.ckpt.....", in my case it was something like "bert-model.ckpt" which does not work. It does not matter if there are other files, such as config.json, in your directory as long as the checkpoints are named "model.ckpt....."
Dooray! Failure Notice
Failure Notice
Your message sent to
@.*** has failed to be delivered.
Please refer to the below for details.
* Recipient :
@.***
* Sent time :
2022-05-24T20:51:45
* Subject :
Re: [run-youngjoo/SC-FEGAN] ValueError: Couldn't find 'checkpoint' file or checkpoints in given directory /home/mustafa/ckpt (#30)
* Remote host said :
Requested action not taken: mailbox unavailable
This message was sent from a notification-only address that cannot accept incoming email.
For more information, please contact ***@***.***
© Dooray!.
I have changed the yml file to
CKPT_DIR: '/home/mustafa/ckpt'
inside this dir there is model fileSC-FEGAN.ckpt.data-00000-of-00001
and index fileSC-FEGAN.ckpt.index
error is