Skip to content
Advertisement

Tag: deep-learning

Using densenet with fastai

I am trying to train a densenet model using the fast.ai library. I checked the documentation and I managed to make it work for resnet50. However, for densenet, it seems to be unable to find the module. I tried to use arch=models.dn121 as stated by this forum. But I get the same error. Can anyone please help? Here is the

Last layer in a RNN – Dense, LSTM, GRU…?

I know you can use different types of layers in an RNN architecture in Keras, depending on the type of problem you have. What I’m referring to is for example layers.SimpleRNN, layers.LSTM or layers.GRU. So let’s say we have (with the functional API in Keras): Where lstm_3 is the last layer. Does it make sense to have it as an

I have a data type problem in the text classification problem

I want to build deep learning classifiers for Kickstarter campaign prediction. I have a problem with the part of the model but I can not solve this. My code: In this point, I am getting ValueError: Failed to find data adapter that can handle input: <class ‘scipy.sparse.csr.csr_matrix’>, (<class ‘list’> containing values of types {“<class ‘str’>”}) I try np.asarray for solving

Advertisement