Code Monkey home page Code Monkey logo

Comments (9)

gecong avatar gecong commented on September 7, 2024

COuld you give more details about how to run lua on mobile device?

from fast-neural-style.

jcjohnson avatar jcjohnson commented on September 7, 2024

I've never tried to run Lua on either Android or iOS so I'm not sure what could be wrong. Maybe try posting on a more general Torch forum such as the gitter? https://gitter.im/torch/torch7

from fast-neural-style.

michaelhuang74 avatar michaelhuang74 commented on September 7, 2024

@gecong Basically I created apps for torch7 on Android and iOS respectively. You can follow the instructions and examples on torch7-android and torch7-iOS.

@jcjohnson Thanks. There are same issues posted on torch7-android and torch7-ios for a quite long time. I have added some comments on the related issues on those forum. Hope someone has resolved the issue and could provide some help there.

from fast-neural-style.

htoyryla avatar htoyryla commented on September 7, 2024

"On both simulators, I was able to load the sample model file with the torch7-android, but could not load the model files that were generated by the training step of this application."

So you can load one of the example models but not what you have trained yourself? Could this have something to do with the fact that the checkpoint files are not plain model files but contain other data, too?

from fast-neural-style.

kaca0083 avatar kaca0083 commented on September 7, 2024

Maybe due to the 'cudnn' option? Or other backend related stuff.

from fast-neural-style.

michaelhuang74 avatar michaelhuang74 commented on September 7, 2024

@htoyryla
The sample model file comes with the torch7-android installation package. It has nothing to do with the fast-neural-style application.
For any model file of the fast-neural-style, no matter it is one of the example models or my own trained one, I could not load them on android an iOS simulators. It seems to be a torch7 or lua issue.

@kaca0083
On andriod and iOS, I was planning to run the stylization step on CPU. We used the code provided by Justin as is.

from fast-neural-style.

 avatar commented on September 7, 2024

Did you solve it? Can it be run on iOS ?

from fast-neural-style.

dovanchan avatar dovanchan commented on September 7, 2024

@michaelhuang74 Did you solve it?I also wanna make a App in ios,but here have some troubles.
I hope you can email me :[email protected],We can talk about this privately

from fast-neural-style.

michaelhuang74 avatar michaelhuang74 commented on September 7, 2024

@dovanchan Unfortunately, I didn't figure out how to load the model on iOS.

from fast-neural-style.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.