clojure-tensorflow icon indicating copy to clipboard operation
clojure-tensorflow copied to clipboard

RNN example error

Open LudoTheHUN opened this issue 7 years ago • 2 comments

Hi.

I was trying to work though your example here: https://github.com/kieranbrowne/clojure-tensorflow/blob/master/examples/rnn/src/rnn/core.clj#L29

however I hit the error of Unable to resolve symbol: conversion-map in this context. I guessed at a alternative implementation of

(def target (tf/constant
             (partition 4 (rest (encode-one-hot data)))))

however I then go errors downstream due to array size mismatches in the hidden-layerdefinition.

Can you please review that example?

Thanks.

LudoTheHUN avatar Jul 06 '17 09:07 LudoTheHUN

Hi @LudoTheHUN,

Sorry about this, the example is currently spliced between two versions of the library because its still extremely alpha and we're changing stuff all the time. I'll get back to this as soon as I can.

kieranbrowne avatar Jul 06 '17 16:07 kieranbrowne

👍

LudoTheHUN avatar Jul 11 '17 21:07 LudoTheHUN