Comments (6)
@mehreenjabeen I'm assuming your system has a GPU setup? Can you provide the sample command you ran and the full output?
from edgeml.
i ran this command: "python kws_demo.py --config_path <path_to_config.json> --model_path <path_to_model.pt> --mean_path <path_to_mean.npy> --std_path <path_to_std.npy>"
However, I had trained the model with architecture argument set as "-architecture FastGRNNCUDA". Now I am retraining with architecture parameter set to FastGRNN. Hope that resolves the issue
from edgeml.
the above thing didnt work(i.e chaging architecture from FastGRNNCUDA to FastGRNN )
So command i ran "python3 kws-demo.py --config_path /home/mehreen/Work/EdgeML/EdgeML/config.json --model_path /home/mehreen/Work/EdgeML/EdgeML/examples/pytorch/FastCells/KWS-training/model/FastGRNN128KeywordSpotter.pt --mean_path $MODEL_DIR/mean.npy --std_path $MODEL_DIR/std.npy"
Output:
sigmoid tanh
Traceback (most recent call last):
File "kws-demo.py", line 202, in
fastgrnn = create_model(config.model, num_filt, 35)
File "/home/mehreen/Work/EdgeML/EdgeML/examples/pytorch/FastCells/KWS-training/train_classifier.py", line 420, in create_model
model_config.update_nonlinearity, num_keywords)
File "/home/mehreen/.local/lib/python3.6/site-packages/edgeml_pytorch/trainer/fastmodel.py", line 59, in init
for l in range(self.num_layers)])
File "/home/mehreen/.local/lib/python3.6/site-packages/edgeml_pytorch/trainer/fastmodel.py", line 59, in
for l in range(self.num_layers)])
File "/home/mehreen/.local/lib/python3.6/site-packages/edgeml_pytorch/graph/rnn.py", line 1121, in init
raise Exception('FastGRNNCUDA is supported only on GPU devices.')
Exception: FastGRNNCUDA is supported only on GPU devices.
from edgeml.
@MJ10 Can you please take a look at this?
from edgeml.
@MJ10 Ping
from edgeml.
I am closing this issue as I got to know what the issue was. In config.json the model architecture was set to FastGRNNCuda because of which it was throwing the error. I changed it to Fastgrnn and it worked!
from edgeml.
Related Issues (20)
- Inference Code to deploy KWS on bluecoin HOT 2
- Question about F1 score for Cifar-10 HOT 5
- DROCC Learning Rate Sheduler HOT 2
- Error while converting .onnx model to .pb format HOT 2
- Question about Bonsai training HOT 2
- KWS-demo throwing errors on running FastGRNNCUDA inference on google speech commands dataset HOT 1
- Seedot HOT 7
- How to predict a Test Sample? HOT 5
- SeeDot-dev.py only working for fastgrnn HOT 22
- The model of DROCC seems missing HOT 3
- How to get predictions from trained model for FastCells in Tensorflow HOT 3
- Why Bonsai and ProtoNN does not return logits but only the argmax of predictions? HOT 1
- For Image Anomaly, custom dataset HOT 6
- Select protoypes without projecting
- This repo is missing important files HOT 1
- Why is the GRNN much slower than a GRU HOT 1
- ImageNet-10 dataset RNN-Pooling HOT 1
- This repo is missing important files “process_g30.py”
- Missing important codes in the file https://github.com/microsoft/EdgeML/tree/master/tools/SeeDot/SeeDot-dev.py
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.
from edgeml.