StacyYang / MXNet-Gluon-Style-Transfer

Neural Style and MSG-Net
http://computervisionrutgers.github.io/MSG-Net/
MIT License
148 stars 32 forks source link

Hybrid and hybrid forward #2

Closed samhodge closed 6 years ago

samhodge commented 6 years ago

I was trying to put a symbol into the model and save it as a symbolic network, but many of the Hybrid things only implement forward and not hybrid_forward.

I am struggling to do this myself.

do you know if anybody else has already done this as an exercise.

I am stuck on Inspiration(HybridBlock)

I was able to do Reflectance padding on my own after reading this document:

http://gluon.mxnet.io/chapter07_distributed-learning/hybridize.html

Any help would be apprieciated.

It would be a textbook example of being able to train in Python and deploy in C++

Sam

samhodge commented 6 years ago

It was also bought up here: https://github.com/apache/incubator-mxnet/issues/8537

@masahi may have an idea how to do it.

zhanghang1989 commented 6 years ago

Sorry that I am not familiar with symbol API. You may ask in the mxnet repo.

samhodge commented 6 years ago

Thanks for responding I will continue trying and ask on the mxnet repo

samhodge commented 6 years ago

Reported to mxnet repo