-
Notifications
You must be signed in to change notification settings - Fork 149
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
OpRegularizerManager could not handle ops #111
Comments
@mengdong Thanks for rising this issue. We routinely work with ResNet and other complicated models so I don't think that the complexity is the issue. Are you using the encoding where channels is in Could you recover this behavior with a single ResNet unit and print the entire trace? |
Hello @eladeban, Thanks for the prompt response. I don't think complexity is the issue, as lenet also have similar error. I suspect the additional node/ops created by tensorflow estimator interface. I will try with tensorflow slim to see how it works seems like you more success on tensorflow slim. |
took another look. it might be qq: are you using |
Sorry for the late reply, yes, I am using channels_first. Let me modify the regularizer and give it a try |
Hello, thank you for looking into the code. I have tried to modify the
The entire trace is here:
|
|
I see. Let try this again. Thanks for clarifying. |
Hello,
I have tried a few examples from tensorflow/model with morphnet (lenet and resnet), a simple mnist model (https://github.com/mengdong/morph-net/blob/master/morph_net/examples/mnist/mnist-tutorial.py) works. However, I ran into problems in some other more complex models under tensorflow estimator interface.
I wonder is there a recommended way to use morphnet in tf estimator inferface? I know there is quite some overhead in the estimator's graph. Detailed infromation below:
Regarding lenet (https://github.com/mengdong/morph-net/blob/master/morph_net/examples/mnist/mnist.py) from https://github.com/tensorflow/models/tree/master/official/mnist, I observe that:
Regarding ResNet (https://github.com/mengdong/morph-net/blob/master/morph_net/examples/resnet/imagenet_main.py), I observe:
The text was updated successfully, but these errors were encountered: