Question Locked

Problems when deploying posenet on website

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to deploy the upload video demo of pose detection on my website.

[Link to demo GitHub page][2]

[Link to my website][3]

I'm getting two different errors on [Safari][4] and [Google Chrome][1].

Both the errors are occurring on this line:
```
import '@tensorflow/tfjs-backend-webgl';
```
Usually , when I run the demo on my localhost I first build the dependencies using:

```
yarn build-dep
```
Then , I install the dependencies using:
```
yarn
```
Then, I run the demo using:
```
yarn watch
```
Finally, I open the demo at:
```
localhost:1234/?model=movenet
```
I don't know how to do these steps on my website.

[1]: https://i.stack.imgur.com/2g4SN.png
[2]: https://github.com/tensorflow/tfjs-models/tree/master/pose-detection/demos/upload_video
[3]: https://allzen.tech
[4]: https://i.stack.imgur.com/KwGMv.png

4 replies

by rproffitt

But I'll write that if I wanted to do such I would be at https://www.tensorflow.org first. Then I'd have to choose what model of development I was going to attempt (some call this the software design document) and then get one of their demos working before trying this from the ground up. Or I would likely be ground up over things I hadn't learned by starting with a working example.

by kees_b

That's a good question for the customer service of the company that hosts your website. There is no standard for offering support for accessing unix on the server that your site is running on.

by thebrainiac

I thought yarn files are automatically added by the yarn package manager.

by kees_b

Now probably you run yarn on your own Linux PC that also hosts localhost. Now it seems you have to do exactly the same on the Linux server that hosts your website.

This discussion is closed to new replies.