morph-net icon indicating copy to clipboard operation
morph-net copied to clipboard

Possibility of adding a working demo code

Open sumeetssaurav opened this issue 5 years ago • 9 comments

Hello, Thank you for such a wonderful work and open-sourcing it. However, if a working demo code could be added, then naive users like me would find it more comfortable using the library. Therefore, could you please add some working demo code of experiments mentioned in the paper using some seed network.

sumeetssaurav avatar Apr 18 '19 19:04 sumeetssaurav

You can find example networks here: https://github.com/tensorflow/models/tree/master/research/slim/nets

There you can find networks such as Inception and Resnet family of architectures. Once you are familiar with training those networks, you can follow the MorphNet guide to try out MorphNet. You can check out TF-slim for a working example in a Python notebook.

ayp-google avatar Apr 22 '19 18:04 ayp-google

I don't think one is willing to use slim to try MorphNet...

Aspirinkb avatar May 07 '19 08:05 Aspirinkb

@Aspirinkb Interesting point :) Could you suggest a specific model (and open source code for it) that you will be happy to see the MorphNet demo for.

eladeban avatar May 07 '19 17:05 eladeban

@eladeban Considering Keras is so popular and has a close relation with TensorFlow, so I think a model in Keras is a good start. What do you think ResNet50?

Aspirinkb avatar May 08 '19 02:05 Aspirinkb

@eladeban Considering Keras is so popular and has a close relation with TensorFlow, so I think a model in Keras is a good start. What do you think ResNet50?

@eladeban For instance, cifar10_resnet.py trains a ResNet on the CIFAR10 available at https://github.com/keras-team/keras/tree/master/examples I will be interested to see a modified version of cifar10_resnet.py that proposes a new model by adjusting the number of output channels in each convolution layer.

waqarahmed4544 avatar May 10 '19 13:05 waqarahmed4544

(Also related to #41 ). A demo with a detection model from https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md would be very helpful in addition to classification demo. I'd pick ssd_mobilenet_v1_0.75_depth_quantized_coco if I were to suggest a specific model.

010akv avatar May 13 '19 18:05 010akv

Any update on a keras resnet example?

JMFlin avatar May 22 '19 05:05 JMFlin

Sorry about the delay, but we don't have the bandwidth to do these examples. We will be more than happy to show case such examples here if somewhat is willing to take the task.

eladeban avatar Aug 07 '19 17:08 eladeban

In case anyone is still interested (a year later), I have been working on creating examples for this really cool library, hoping that more people make use of it.

The tutorials are here, for now I only have created one and am working on a couple more. If anyone's interested in seeing more of this or has any comments please contact me or open an issue in that repo.

ferova avatar Aug 28 '20 19:08 ferova