Pure Theano Do not expect shapes. By default shapes can changes. You just need to be consistent in the computation you do on the shapes.
If you set the batchsize shape to None, you are not using pure Theano. Do you use lasagne? Keras? Can you show the code where you set the shape to None? Fred Le mer. 5 juil. 2017 08:01, Feras Almasri <[email protected]> a écrit : > I found that it is possible to change the batch size during the run time > by defining the batch size to None. But the pooling layer in case of > averaging or same size doesn't have this option and should be defined in > different way. > > > On Tuesday, July 4, 2017 at 11:21:04 PM UTC+2, Feras Almasri wrote: >> >> I'm re-initiating another model in a loop because I'm testing different >> batch sizes so I have to re initiate the model again. it seems in my code >> that every time I'm re initiating the model the old model still in the GPU >> and not deleted. is there any way to delete the model before initiating the >> second ? >> > -- > > --- > You received this message because you are subscribed to the Google Groups > "theano-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
