biocore / mmvec

Neural networks for microbe-metabolite interaction analysis
BSD 3-Clause "New" or "Revised" License
118 stars 51 forks source link

Tensorboard only shows a single point #144

Open mortonjt opened 4 years ago

mortonjt commented 4 years ago

There are edge cases where tensorboard will only show a single dot image

This means that MMvec only ran a single step. There are a couple of known things that could cause this

  1. The number of sequences in the dataset is smaller than the batch size. In which cause you need to decrease the batch size (the default is a batch size of 50 sequences)
  2. The number of epochs is only 1, which case you need to increase the number of epochs
  3. Your summary interval is too long. It is possible that your summary interval is longer than your actual MMvec run, in which case you need to decrease your summary interval to something reasonable (i.e. 100x smaller than the length of your MMvec run).

If this is helpful, we will migrate the contents inside of this issue to the README.