Closed topinfrassi01 closed 3 years ago
Hi, @topinfrassi01. Is the version of TensorFlow you are using the same as in the readme? Since the early APIs of TensorFlow are very confusing, inconsistent versions can cause some problems. When I released the code, I tested the complete pipeline and there was no error.
Well that certainly is the problem then. I'm working on tf 1.13. Thanks!
As the title states, I'm trying to run
train_p2mpp.py
and I have a problem when it comes to loading the pre-trained CNN from checkpoint.With the original configuration, where I know the path is good :
Inside the
load_cnn
function ofMeshNet
:With the original configuration, I have the following stacktrace :
Here's what I've tried, that didn't work :
meshnet
tomeshnetmvp2m/cnn
as proposed in this issueself.name
tomeshnetmvp2m
, as this is the name of the ckpt file inside thecoarse_mvp2m
folderI have noticed, when printing the variables of
MeshNetMVP2M
, that the variable name and scope fits the bill of what's written above :meshnetmvp2m/cnn/*
.However, I've made it work by loading the CNN from
refine_p2mpp
by changing the configuration file to :Which feels "hacky" since I'm trying to re-train that same network.
Am I missing something or is there a bug where it seems like
load_cnn
is written to load fromrefine_p2mpp
but the configuration file is written to load fromcoarse_mvp2m
?If I figure out the issue before I have feedback I'll push a PR.
Thanks for your support!