Git Product home page Git Product logo

Comments (6)

aaronespasa avatar aaronespasa commented on July 3, 2024 1

Hi @alleniver,

Could you check if there exists a file called resnet18.ptl on your models/ folder?

Screenshot 2021-12-09 at 11 00 33

The first thing that comes to my mind is that the models were not built correctly. I'm not quite sure if this is the issue as the file/folder that the error indicates that's missing is /models_resnet18 instead of /models/resnet18.ptl and you said that the app runs well on debug mode. But knowing if the models were built correctly will give some feedback to find out where the problem lies.

from playtorch.

liuyinglao avatar liuyinglao commented on July 3, 2024

@alleniver thanks for the feedback and it seems @aaronespasa is right! May I ask

  1. did you see an error.log file under the ./models/ directory, and if you did, any content within it?
  2. what system are you in (Windows, Mac, Linux or others?)

We would have expected our post-init script to report you the error when you init the app -- you could also try rerun the script to generate the missing models

let us know how that goes!

from playtorch.

alleniver avatar alleniver commented on July 3, 2024

thx everyone,I use the win10,the /models/resnet18.ptl has exists! the packaged file has 940mb, so the model should be included.
look the attachment please.
image
image
image
https://user-images.githubusercontent.com/6006650/145519324-6ce9fefe-d137-456b-9cad-65dcac6d1793.mp4

from playtorch.

raedle avatar raedle commented on July 3, 2024

@alleniver, thanks for reporting this issue! I can repro on Android, and we'll be looking into a fix!

If you have a fix already, feel free to submit a PR!

from playtorch.

raedle avatar raedle commented on July 3, 2024

@alleniver, @chrisklaiber could pinpoint the issue and submitted a fix with 394ba1b.

To get the changes you can do one of the following two options:

  • Update the react-native-pytorch-core package with yarn update react-native-pytorch-core --latest
  • Initialize a new project with npx torchlive-cli init NewProject

Closing the issue. Please reopen if it didn't fix the underlying issue on your end!

Thanks for reporting!

from playtorch.

alleniver avatar alleniver commented on July 3, 2024

good job,it's fine now! thanks.

from playtorch.

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.