shuwa's Issues
Training script issue
Hi, thank you for sharing this code!
We would like to ask for help about the error that we encounter while running the training script on our data with 10 words only.
In the jupyter notebook, the model.fit_generator() produces the following error:
InvalidArgumentError: Input to reshape is a tensor with 10 values, but the requested shape has 1
[[node Reshape
(defined at /Users/abc/opt/anaconda3/envs/githubshuwa/lib/python3.7/site-packages/tensorflow_addons/losses/triplet.py:257)
]] [Op:__inference_train_function_13545]
We used the following tool versions:
- Python 3.7
- Tensorflow 2.6
And we also updated the batch from 32 to 1 because the demo webapp expects the model to have an input shape with 1 batch only.
We would like to ask:
- What versions of python and Tensorflow should we use?
- Are there other possible cause for the error that we encountered?
- How can we train using more than 1 batch without affecting the expected shape of the input of the model?
Thank you very much in advance!
I get a `ValueError: operands could not be broadcast together with shapes (0,) (336,) ` when launching the Play demo
Whenever I launch the demo, I get the
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
return self.func(*args)
File "/home/Reborn/Documents/Projects/sign_language/lsf/webcam_demo.py", line 57, in record_btn_cb
res_txt = self.translator_manager.run_knn(feats)
File "/home/Reborn/Documents/Projects/sign_language/lsf/modules/translator/translator_manager.py", line 100, in run_knn
dists = np.square(self.knn_database - feats)
ValueError: operands could not be broadcast together with shapes (0,) (336,)
Error.
I'm on Python3.9 and on Debian 10
How to generate txt files corresponding to different gestures when training your own dataset
Web Demo Issue
Hi! We noticed that the output layer of the model was updated. The new architecture is now incompatible with the web demo application.
signClassify.js expects to get an array of 2 elements from classifyModel.predict(..), but the new model only returns 1 element.
Please refer to Line 103 or 454 of ./web_demo/public/js/ML/signClassify.js
Does it mean the web demo will also be updated?
Thank you!!!
The prediction of the js version of the pose model is different from the python version.
I ran a inference of the posenet model in js version and its predictions are worse than its python counterpart Is there a reason for the performance degradation between the python and js posenet models? @bit-kim
Readme
Thank you for this interesting software. What version of python should I use. 3.8 fails. 3.6 works, but is it best? Also, python3 hand_landmark\webcam_demo_hand.py fails on linux. This needs a forward slash not a backslash. Also crop_utils module can't be found. Does something need to be added to pythonpath? Andy other hints would be appreciated. BTW, I can't type input to record on extract_knn_features.py. Thanks again. I'm on Pop!_OS 20.04.
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.