Code Monkey home page Code Monkey logo

teachablemachine-node's People

Contributors

bonastreyair avatar eternaleclipse avatar iragr avatar pivanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

teachablemachine-node's Issues

Adding custom model

is there any way to pass my custom model and metadata instead of passing URL link ??? I tried with the relative path to model but that return error - only absolute URL . I think there should be some way.

how deploy with public ip

git clone https://github.com/SashiDo/teachablemachine-node.git

Cloning into 'teachablemachine-node'...
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 56 (delta 6), reused 10 (delta 4), pack-reused 39
Unpacking objects: 100% (56/56), 51.14 KiB | 3.01 MiB/s, done.

cd teachablemachine-node

root@machineteacheble-ubuntu-s-8vcpu-16gb-nyc1-01:~/teachablemachine-node# yarn
yarn install v1.22.5
warning ../package.json: No license field
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning "@tensorflow/tfjs > @tensorflow/[email protected]" has unmet peer dependency "seedrandom@~2.4.3".
[5/5] Building fresh packages...
success Saved lockfile.
Done in 6.30s.

yarn build

yarn run v1.22.5
warning ../package.json: No license field
error Command "build" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run watch

yarn run v1.22.5
warning ../package.json: No license field
error Command "watch" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

pls help me with this
tnks

wierd classification score

When iterating over array of images and classifying each one i get prediction scores like:

[
  { class: 'apple', score: 1 },
  { class: 'banana', score: 5.249882195634825e-10 }
]

is this a know issue?
can provide full code if needed

why did the results always predict the same output

Hi !!, I just following your sample code and using your sample model.
but, when i change the image url. the output always same as before.
Thanks.

the outputs:

Predictions: [
  { className: 'Dog', probability: 0.5297428965568542 },
  { className: 'Not_Dog', probability: 0.47025713324546814 }
]
current imageUrl : https://media-blog.sashido.io/content/images/2020/09/SashiDo_Dog.jpg
Predictions: [
  { className: 'Dog', probability: 0.5297428965568542 },
  { className: 'Not_Dog', probability: 0.47025713324546814 }
]
current imageUrl : https://icatcare.org/app/uploads/2018/07/Thinking-of-getting-a-cat.png

i cant try in my droplet ubuntu 20.04

this is my errors

root@detection-ubuntu-s-8vcpu-16gb-nyc1-01:~/Cattle-detection# pip install -r requirements.txt
Requirement already satisfied: torch in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 1)) (1.5.1+cpu)
ERROR: Could not find a version that satisfies the requirement opecv-python (from -r requirements.txt (line 2)) (from versions: none)
ERROR: No matching distribution found for opecv-python (from -r requirements.txt (line 2))

Need for Types

hey @pivanov @IraGR, the code is missing types which makes it difficult to interpret how the code will work and what is it providing to the user, so I think making types for the project can be great help for the developers using this package.

If you guys agree than I will write the types and create a pull request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.