Skip to content

perming-1.9.1

Compare
Choose a tag to compare
@linjing-lab linjing-lab released this 06 Nov 05:11
· 21 commits to main since this release

Upgraded Details:

  • configured criterion of common/Binarier from BCELoss to CrossEntropyLoss, make annotated cases in tests executable.
  • drop BCELoss in the allowed criterion to avoid users manually set torch.nn.Sigmoid() with outputs in train_val module.

Binarier Configuration:

import perming
# main = perming.Box(23, 2, (50,), batch_size=8, activation='relu', inplace_on=True, solver='adam', learning_rate_init=0.01)
main = perming.Binarier(23, (50,), batch_size=8, activation='relu', solver='adam', learning_rate_init=0.01)

download:

!pip install perming==1.9.1 # in jupyter
pip install perming==1.9.1 # in cmd