-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
import the models into Chainer #420
Comments
The following repository has PyTorch implementations of vgg_7, upconv_7, and cunet (training does not work due to Also, waifu2x-caffe supports both cunet and upresnet10. It does not support training, though. |
I want to deploy the cunet model to that project, and just use it for inference. And now, the problem is how to convert t7 format to npz format. The models in that project are all in npz format. |
ref. code that loads the json file into the pytorch model. |
thank you, I will have a try. |
Is there any .caffemodel file of cunet? So that I can directly use CaffeFunction to convert it. I'm a novice in deep learning, it's too difficult for me to port it at the code level, because I'm familiar with neither of the frameworks. |
waifu2x-caffe has it. The following threads may be helpful. |
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/chainer/links/caffe/caffe_function.py:165: UserWarning: Skip the layer "input", since CaffeFunction does not support Input layer It seems that caffeFunction doesn't surpport some layers. Is there any way to solve this problem? Or should i port the model at code level ? :( |
I am not familiar with the chainer code, but the documentation says the following:
Also, chainer has already decided to discontinue development. |
All right. I will go on to port the model at code level. Since i want to install waifu2x on a platform where torch, caffe and some other frameworks are banned, chainer is the only choice, maybe. And thanks for your help. |
https://github.com/tsurumeso/waifu2x-chainer
This is the Chainer implementation of waifu2x, but cunet models haven't been added to this project.
Is there any way to convert original luatorch models to Chainer models? It would be very helpful to me.
The text was updated successfully, but these errors were encountered: