You don't need to re create a new model of you just change the batch size.
What make you think this is needed? Some great framework on top of Theano
will request that you set the batchsize to None to tell that it will change.

Fred

Le mar. 4 juil. 2017 17:21, Feras Almasri <fsalma...@gmail.com> a écrit :

> 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 theano-users+unsubscr...@googlegroups.com.
> 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 theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to