-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path' #16
Comments
You should create directory "checkpoints" and put the unzip file in it. |
I guessed the github link provided is not reliable. I created empty 'model.ckpt-44441' file and it does not work as well. Thanks for your quick response though! |
I mean that creat a empty file named checkpoint and This file has two lines |
Got it to work. Thanks ! |
I am getting the same error, tried the methods suggested by still doesn't solve the problem. |
|
First, I create directory "checkpoints" and put the unzip file in it. |
|
您好,解压缩文件就是我提供的预训练模型的zip文件。写入空文件用一个文本编辑器写进去就可以,比如vim。推荐您使用dev分支下的代码和模型,里面不存在这个问题。 |
感谢老师的耐心解答,问题已解决。
…------------------ 原始邮件 ------------------
发件人: "Pay20Y"<notifications@github.com>;
发送时间: 2020年5月16日(星期六) 上午9:22
收件人: "Pay20Y/FOTS_TF"<FOTS_TF@noreply.github.com>;
抄送: "chun纯洁"<1099649683@qq.com>;"Comment"<comment@noreply.github.com>;
主题: Re: [Pay20Y/FOTS_TF] AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path' (#16)
首先,我创建目录“ checkpoints”并将解压缩文件放入其中。
其次,我创建一个名为checkpoint的空文件,该文件有两行
model_checkpoint_path:“ model.ckpt-44441”
all_model_checkpoint_paths:“ model.ckpt-44441”
最后,我将checkpoint放入目录“ checkpoints”。
老师您好,请问第1步得解压缩文件指得是什么?第2步空文件写入的那两行是通过什么命令写进checkpoint文件?
您好,解压缩文件就是我提供的预训练模型的zip文件。写入空文件用一个文本编辑器写进去就可以,比如vim。推荐您使用dev分支下的代码和模型,里面不存在这个问题。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Not being able to run with pretrained model. This is the error, not sure what checkpoint directory i must provide. I provided both the checkpoint directory and the individual files themselves all cannot work.
The text was updated successfully, but these errors were encountered: