DmitryUlyanov / texture_nets

Code for "Texture Networks: Feed-forward Synthesis of Textures and Stylized Images" paper.
Apache License 2.0
1.22k stars 218 forks source link

Transfer model to apple core ml #76

Open markzhong88 opened 7 years ago

markzhong88 commented 7 years ago

Is there any way I can transfer the .t7 model to apple machine learning model using the latest iOS 11 core ml? In that case, I can call the model in iPhone without renting a server

3DTOPO commented 7 years ago

If we could get the trained model in Caffe or Keras then it should be possible.

I tried converting a trained Torch .t7 model to a Caffe model using Facebook's torch2caffe utility, but apparently, the model uses custom class(es) that are not automatically convertible. I don't recall the exact name of the custom class but I think it was Reflection2D or something like that...

engahmed1190 commented 6 years ago

have you find any way around, I have found a library called torch2coreml but this respiratory failed to be converted