MP2 PART 1 generative model

Re: MP2 PART 1 generative model

by Lukas Gelbmann -
Number of replies: 0

A tip for anyone who finds that the one-hot encoded data T is taking too much memory: it is better to define T = X[:,:,np.newaxis] and then use the sparse_categorical_crossentropy loss instead of categorical_crossentropy. This doesn't affect the results, but saves a ton of memory.