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
tensor not exist in the checkpoint pcgreat/zi2zi #66
Comments
这是因为train.py和infer.py的 可以看到train.py的初始化参数 除了这个问题以外,也许还会遇到:
因为UNet的embedding数量、大小不一样,对应train.py的 以及这个问题:
这是因为两个文件的image_size不一样,根据train.py的参数应用到infer.py就行了,可见:/train.py#L17 |
thanks |
谢谢你的回答,这些帮助了我很多。另外我在训练模型结束后,进行fine tune时,遇到了一个问题,当我运行: Train/Finetune the modelPYTHONPATH=. python train.py --experiment_dir=experiments_finetune |
你必須將你的訓練集放入finetune資料夾中的data |
我的experiments_finetune/data/里面有对应的train.obj及val.obj,它完整的运行显示是: |
你的obj檔中是否有包含embeddiing_id 67 |
对的,我明白问题在哪里了,刚刚解决啦,非常感谢^_^ |
好的! |
好的,之后遇到问题我再发邮箱问您,谢谢~^_^ |
Hey guy is me again
Sorry about I'm taking pcgreat/zi2zi at here
Because I can't found the place to let me discuss
As tittle and preamble #64
key generator/g_d1_bn/beta not found in checkpoint
So I use tensorflow.python.tools inspect_checkpoint.py to watch my checkpoint
And I compared the pcgreat/zi2zi model and kaonashi-tyc/zi2zi model with the checkpoint
left is pcgreat/zi2zi right is kaonashi-tyc/zi2zi
And you can see some tensor is not exist in the pcgreat/zi2zi checkpoint
I was wondering if someone can tell me and fix it
the same as past I and still try to solve this problem
This is my contact information.
mail: henry19980520@gmail.com
I look forward to discussing with you.
The text was updated successfully, but these errors were encountered: