Output Results (CL)
This page summarizes the output results of continual learning experiment and evaluation pipelines. Their existence, file or folder names, and formats can be customized.
Output Results of Main Experiment and Evaluation
The following output results are produced after running continual learning main experiment or continual learning main evaluation.
| Folder or File | Description | Customization |
|---|---|---|
<output_dir>/ |
Contains all output results |
|
<acc_save_dir>/ |
Contains all data and figures of test accuracy metrics |
|
<acc_save_dir>/acc.csv |
The original data of test accuracy metrics, stored as CSV format. It contains the low triangular accuracy matrix and average accuracy. Please refer to my continual learning beginners’ guide |
|
<acc_save_dir>/acc_matrix.png |
A figure of the low triangular accuracy matrix (see example here) |
|
<acc_save_dir>/ave_acc.png |
A curve plot of the average accuracy (see example here) |
|
<loss_cls_save_dir>/ |
Contains all data and figures of test classification loss metrics |
|
<loss_cls_save_dir>/loss_cls.csv |
The original data of test classification loss metrics, stored as CSV format. It contains the low triangular accuracy matrix and average accuracy. Please refer to my continual learning beginners’ guide |
|
<loss_cls_save_dir>/loss_cls_matrix.png |
A figure of the low triangular classification loss matrix |
|
<loss_cls_save_dir>/ave_loss_cls.png |
A curve plot of the average classification loss |
|
<output_dir>/lightning_logs/csv/ |
Training and validation metrics logged to Lightning CSV logger in real time. Please refer to my article about CL metrics to learn about training and validation metrics in continual learning |
|
<output_dir>/lightning_logs/tensorboard |
Output files for Lightning TensorBoard logger |
|
<output_dir>/lightning_logs/wandb |
Output files for Lightning Weights & Biases logger |
|
<samples_save_dir>/ |
Contains input samples of first batch of each task |
|
<saved_models_dir>/ |
Contains saved model |
|
<profile_dir>/ |
Contains profiling results |
|
config_tree.log |
Full copy of the experiment config in tree format |
|
console.log |
Full logs of the console log in text format |
|
Output Results of Full Experiment and Evaluation
The following output results are produced after running continual learning full experiment or continual learning full evaluation, in addition to output results of main experiment and evaluation.
| Folder or File | Description | Customization |
|---|---|---|
<output_dir>/refjoint/ |
Contains all output results of the reference joint learning experiment | Cannot be customized |
<output_dir>/refindependent/ |
Contains all output results of the reference independent learning experiment | Cannot be customized |
<output_dir>/refrandom/ |
Contains all output results of the reference random learning experiment | Cannot be customized |
<bwt_save_dir>/ |
Contains all data and figures of BWT metrics |
|
<bwt_save_dir>/bwt.csv |
The original data of BWT metrics, stored as CSV format. It contains BWT values after training each task. Please refer to my article about CL metrics. |
|
<bwt_save_dir>/bwt_plot.png |
A curve plot of BWT. |
|
<fwt_save_dir>/ |
Contains all data and figures of FWT metrics. |
|
<fwt_save_dir>/fwt.csv |
The original data of FWT metrics, stored as CSV format. It contains FWT values after training each task. Please refer to my article about CL metrics. |
|
<fwt_save_dir>/fwt_plot.png |
A curve plot of FWT. |
|
<fr_dir>/ |
Contains all data and figures of FR metrics. |
|
<fr_dir>/fr.csv |
The original data of FR metrics, stored as CSV format. Currently, it contains the FR value after training last task only, because joint learning of every combination of seen tasks costs too much. Please refer to my article about CL metrics. |
|
Output Results of Specific Algorithms
Some algorithms can produce data and visualization results of their mechanism in addition to results above.
Hard Attention to the Task (HAT)
Hard Attention to the Task (HAT) is an architecture-based continual learning algorithm. It has some extensions, including AdaHAT, FG-AdaHAT. We support saving and visualizing masks and adjustment rate in the extensions. Please refer to Configure CL Algorithm.
| Folder or File | Description | Customization |
|---|---|---|
<masks_save_dir>/ |
Contains HAT masks |
|
<masks_save_dir>/test_masks/ |
Contains test masks of each task |
|
<masks_save_dir>/test_cumulative_masks/ |
Contains test cumulative masks of each task |
|
<masks_save_dir>/training_masks/ |
Contains training masks of every several steps of each task |
|
<adjustment_rate_save_dir>/ |
Contains adjustment rate plot every several steps |
|