#109·convnetjs

I can't use ConvLayers in deepqlearn.js

Author: soswowCreated Mar 23, 2019Updated Mar 24, 2019

There is a problem with this line: https://github.com/karpathy/convnetjs/blob/4c3358a315b4d71f31a0d532eb5d1700e9e592ee/build/deepqlearn.js#L142

the shape of the input vector is basically hardcoded here when given to the network's forward function. Which makes it all break apart in line https://github.com/karpathy/convnetjs/blob/4c3358a315b4d71f31a0d532eb5d1700e9e592ee/src/convnet_layers_dotproducts.js#L67 Where we try to check for existence of those dimensions.