Web Development

Question

Resolved

Problems when deploying posenet on website

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

[2]

[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
best answer
Collapse -

Re: website

by Kees_B Moderator In reply to Problems when deploying p ...

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.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Your post is so poorly formatted that I can't tell what you are doing.

by rproffitt Moderator In reply to Problems when deploying p ...

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.

Collapse -

Are you implying I need a backend sever to run yarn commands

by thebrainiac In reply to Re: website

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

Collapse -

Re: yarn

by Kees_B Moderator In reply to Are you implying I need a ...

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.

Related Discussions

Related Forums