Changelog¶
v1.2.1180 (Jan 07, 2022)¶
Submitted thesis!
Update docs to reflect thesis
GUI works without crashing
v1.1.166 (Sep 30, 2021)¶
New features¶
Add
limitparameter toBCN.evaluate.BCN.run_wplimits the training set evaluation to 10,000 samples instead of 60,000, in the interest of training times.Add
webhookparameter toBCN.run_wp.Add
Results.wp_layersto keep track of which layers were perturbed.Add
padding,width, anddepthkwargs to theFaultclass.Add
faultargument toBCN.run_epochandBCN.run_epochs.Add
BCN.confusionfor computing interclass confusion matrices.
Bug fixes¶
BCN.trainnow appropriately adds version & device info toBCN.results.
v1.0.257 (Aug 21, 2021)¶
Breaking changes¶
- Change
Resultsclass When loading from a file, update
Results.__dict__instead of entirely replacing it, in the interest of backward- and forward-compatibility.Remove
Results.best_epoch.Remove
Results.best_valid_loss.Remove
Results.version.Add
best, representing the index of the maximum F-1 score (instead of minimum validation loss).Add
versions, a set containing all the versions that the model was trained under.Add
devices, a set containing all the devices the model was trained on, to help put training times into perspective.Add
step, the number of weight perturbation steps
- Change
- Change BCN network matrices
Harness the power of 4D batch tensors and vectorization for (marginally?) improved training times!
Encode the used device in the local filename to prevent device-related errors.
Bug fixes¶
Fix local networks filenames weren’t specific (e.g. it now writes
uniform.NextToNNinstead of justNextToNN).
New features¶
Add
BCN.run_wpmethod to run weight perturbation!Add
BCN.clonemethod to duplicate a model.Add
BCN.evaluateto evaluate models without training them.Add
WPApproachenum.Add
Connections.ONE_TO_1.Add missing
BCN.dropout.
Migrating¶
See the migration page for more detailed info.
Use
bcn.v0.migrate_resultsto convert a v0 Results file to a v1 Results file.Use
bcn.v0.migrate_weightsto convert a v0 weights file to a v1 weights file.Delete the contents of the local ./networks/ folder
v0.4.98 (Jul 20, 2021)¶
New features¶
Add bcn.branches.informed module.
Add
Faultclass.Add
BCN.evaluate.Add
bcn.branches.Branches.nameproperty.Add
bcn.branches.Branches.latexproperty.
v0.3.38 (Jun 29, 2021)¶
New features¶
Add this changelog.
Add
bcn.BCN.default_weights_filenameandbcn.BCN.default_results_filename.Add a
from_pathparameter tobcn.BCN.trainthat allows the user to specify a results directory path, from which the model should look for and load its weights and results, instead of explicitly specifying the two file paths viafrom_weightsandfrom_results.