gigasquid commented on issue #14118: [Clojure] - Provide support for Fasttext 
embedding in CNN Text Classification example
URL: 
https://github.com/apache/incubator-mxnet/issues/14118#issuecomment-504041013
 
 
   @adc17 Sorry for the trouble. It looks like the code was refactored and the 
README instructions weren't updated. It requires a `:devs` key to tell it 
whether the run on cpu or gpu and how many devices - see the `main` code in the 
classifier for the correct usage.
   
   From the repl you can use `(train-convnet {:devs [(context/cpu 0)] 
:embedding-size 50 :batch-size 100 :test-size 100 :num-epoch 10 :max-examples 
1000 :pretrained-embedding :glove})
   ` and it should work. 
   
   If you could update the documentation to help others in the future that 
would be great 😸 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to