Comments (6)
Hi @alleniver,
Could you check if there exists a file called resnet18.ptl
on your models/ folder?
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.
@alleniver thanks for the feedback and it seems @aaronespasa is right! May I ask
- did you see an error.log file under the ./models/ directory, and if you did, any content within it?
- 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.
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.
https://user-images.githubusercontent.com/6006650/145519324-6ce9fefe-d137-456b-9cad-65dcac6d1793.mp4
from playtorch.
@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.
@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 withyarn 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.
good job,it's fine now! thanks.
from playtorch.
Related Issues (20)
- PlayTorchJSIModule not found - ios & android m2 macbook pro HOT 2
- It is not possible to convert audio float32 tensor to playable uint8 audio expected by .audioFromBytes() HOT 1
- How to specify interpolation in transforms.resize?
- AudioUtil is not working on Android
- How to convert my yolov5s.pt to yolov5s.ptl HOT 1
- resize function gives error: 'Factory function resize expects 1 argument but 4 are given.'
- Cannot scan QR code from the PlayTorch app HOT 2
- playtorchjsimodule not found
- Mac M1 tutorial failure HOT 2
- unable to load local .ptl model HOT 2
- How to export a Huggingface transfromer model? HOT 3
- react_native_pytorch_core error during gradle build HOT 15
- image data fetch
- Is there a processing step im missing when using a custom trained yolo model?
- Is this project still maintained?
- Unable to work
- CMake Error
- Android build fails | Expo app using prebuild HOT 4
- 'react_native_pytorch_core-Swift.h' file not found during ios build HOT 1
- Add how to use EAS (Expo Application Service) build within this tutorial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playtorch.