Comments (11)
@JonathanSum u need to up or downgrade your react native to v0.65.1, I have tested all version, and only v0.65.1 work
from playtorch.
@JonathanSum v0.1.3 only work with v0.65, i dont know how lib demo work with v0.64, if u want to work in v0.66+, u have to wait for lib next version, if u still want to use in v0.66+ u can use '@nightly'.
Example: react-native-pytorch-core@nightly
This will take latest commit, not latest version, you can see in #50
Warning: this can cause bug because maybe latest commit have bug
from playtorch.
@raedle I will try to add it to my project with my OnePlus7 later to see if this unblocks me or not.
from playtorch.
In addition, I also tried to use the newest Live Core. Currently, It still has issues with the CMake:
https://github.com/pytorch/live/blob/main/react-native-pytorch-core/android/CMakeLists.txt
from playtorch.
It is possible that this wrong setting caused this:
from playtorch.
@Gernii
I will try your suggestion next week. After that, I will close it, if you are right.
from playtorch.
@JonathanSum any luck with @Gernii's suggestion?
from playtorch.
It was my final year and final semester of my school, so it was so busy. I am currently starting to try @Gernii's solution.
The RN I am currently using is "react-native": "0.64.3", and I am going to update it.
I hope it can work from 0.65.1 or above.
I will try to fix it this weekend. I am pretty busy right now.
from playtorch.
So it can only work in 0.65.1 at this momoment?
from playtorch.
@Gernii and @JonathanSum, the latest nightly has support for up to React Native 0.68. React Native 0.69 is not yet supported, but we are also looking into supporting it.
The fix for 0.68 has been added in commit fix RN0.68 can't build with react-native-pytorch-core, which is currently only available in the nightly version.
Please have a look at the docs "Add Package to Existing App" for more information how to set up the project.
Can you let us know if this unblocks you?
from playtorch.
Closing this because my issue was solved in another way.
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.