question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image Classification Tutorial Snack: Can't find variable __torchlive__

See original GitHub issue

Version

0.2.0

Problem Area

Website/Documentation

Steps to Reproduce

  1. https://playtorch.dev/docs/tutorials/snacks/image-classification/
  2. Scan QR Code
  3. Can't find variable: __torchlive__ Evaluacting react-native-pytorch-core.js

Expected Results

No error message

Code example, screenshot, or link to repository

Hi,

I noticed there was an issue for __torchlive__ that was opened for the CLI, but I wanted to also address the broken Snack demo in your documentation. Thanks!

Using an iPhone 13 Pro

https://snack.expo.dev/@playtorch/image-classification

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
raedlecommented, Jul 24, 2022

@cjfghk5697 the PlayTorch Snacks only work in the PlayTorch apps. They do not work in the Expo Go apps or the embedded device emulators in the Expo Snack device panel.

More details are in the PlayTorch FAQ

https://playtorch.dev/faq/

1reaction
raedlecommented, Oct 28, 2022

@remod Thanks for clarifying.

Correct, PlayTorch does not work with the Expo Go app. However, there is the PlayTorch app available in both App Store and PlayStore (check out the links on the PlayTorch website: https://playtorch.dev/)

Play Store: https://play.google.com/store/apps/details?id=dev.playtorch App Store: https://apps.apple.com/app/playtorch/id1632121045

The PlayTorch app can scan the QR codes on the Expo Snack platform and run Snack code that uses the react-native-pytorch-core

Try this demo with the PlayTorch app: https://snack.playtorch.dev/@playtorch/point-cloud-renderer-for-one-shot-depth-estimation

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image Classification | PlayTorch is a framework for rapidly ...
In this tutorial, you will build an app that can take pictures and classify objects in each image using an on-device image classification...
Read more >
Image classification tutorials in pytorch-transfer learning
Image classification is a task of machine learning/deep learning in which we classify images based on the human labeled data of specific classes ......
Read more >
Image Classification - Expo Snack
Image Classification. An image classification demo built with PyTorch Live. Open with Expo Go. Open in editor. Need Expo?
Read more >
How to Train an Image Classifier in PyTorch and use it to ...
It will go through how to organize your training data, use a pretrained neural network to train your model, and then predict other...
Read more >
Image Classification with PyTorch - YouTube
In this video we learn how to develop a computer vision pipeline for image classification using PyTorch.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found