rajatsen91 / deepglo

This repository contains code for the paper: https://arxiv.org/abs/1905.03806. It also contains scripts to reproduce the results in the paper.
Other
167 stars 47 forks source link

Piece of Code #4

Closed Mehrzadind closed 4 years ago

Mehrzadind commented 4 years ago

Hey , Would yo tell what is this : self.val_index = np.random.randint(0, n - self.vbsize - 5) Because in each batch the indexing is failed.

rajatsen91 commented 4 years ago

Please make sure that the vertical batch-size vbsize is sufficiently less than n.