Sync log files from VAE_logs and CompVAE_logs (11/20)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json +80 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json +15 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json +188 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775251977.node04.3967927.15 +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml +8 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/sweep_run_config.json +134 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/sweep_run_config.yaml +112 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/checkpoint_eval/best_in_domain/evaluation_metrics.json +94 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/checkpoints/best_in_domain.ckpt +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/dataset_loader_config.json +202 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/events.out.tfevents.1775723188.node08.2833613.15 +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/hparams.yaml +8 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/sweep_run_config.json +162 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/sweep_run_config.yaml +140 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json +80 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json +15 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json +188 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775255895.node04.3967927.16 +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml +8 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/sweep_run_config.json +134 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/sweep_run_config.yaml +112 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json +80 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json +15 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json +188 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775259819.node04.3967927.17 +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml +8 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/sweep_run_config.json +134 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/sweep_run_config.yaml +112 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json +80 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json +15 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json +188 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775263733.node04.3967927.18 +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml +8 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/sweep_run_config.json +134 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/sweep_run_config.yaml +112 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json +80 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json +15 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json +188 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775267648.node04.3967927.19 +3 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml +8 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/sweep_run_config.json +134 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/sweep_run_config.yaml +112 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_020_rerun_00_08shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json +82 -0
- VAE_logs/big_dsprites_sweep/zdim_032/run_020_rerun_00_08shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json +15 -0
.gitattributes
CHANGED
|
@@ -38,3 +38,4 @@ VAE_logs/big_dsprites_sweep_zdim_32/run_000_rerun_00_03shapes_zdim_032/lightning
|
|
| 38 |
VAE_logs/big_dsprites_sweep_zdim_64/run_000_rerun_00_03shapes_zdim_064/lightning_logs/version_12138/dataset_loader_config.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
VAE_logs/big_dsprites_sweep/zdim_010/run_000_rerun_00_03shapes_zdim_010/lightning_logs/version_12136/dataset_loader_config.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
VAE_logs/big_dsprites_sweep/zdim_032/run_000_rerun_00_03shapes_zdim_032/lightning_logs/version_12137/dataset_loader_config.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 38 |
VAE_logs/big_dsprites_sweep_zdim_64/run_000_rerun_00_03shapes_zdim_064/lightning_logs/version_12138/dataset_loader_config.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
VAE_logs/big_dsprites_sweep/zdim_010/run_000_rerun_00_03shapes_zdim_010/lightning_logs/version_12136/dataset_loader_config.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
VAE_logs/big_dsprites_sweep/zdim_032/run_000_rerun_00_03shapes_zdim_032/lightning_logs/version_12137/dataset_loader_config.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
VAE_logs/big_dsprites_sweep/zdim_064/run_000_rerun_00_03shapes_zdim_064/lightning_logs/version_12138/dataset_loader_config.json filter=lfs diff=lfs merge=lfs -text
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_name": "best_in_domain",
|
| 3 |
+
"checkpoint_path": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 4 |
+
"device": "cuda",
|
| 5 |
+
"format_version": 1,
|
| 6 |
+
"loader_config": {
|
| 7 |
+
"in_domain_rule": "Validate in-domain on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'drop_15', 'flower_4_w03', 'flower_6_w03', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 8 |
+
"ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['flower_4_w03'] within shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'drop_15', 'flower_4_w03', 'flower_6_w03', 'star_6_r04'].",
|
| 9 |
+
"restricted_shape_counts": {
|
| 10 |
+
"flower_4_w03": {
|
| 11 |
+
"in_domain": 15360,
|
| 12 |
+
"ood": 15360
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"seed": 2232829604,
|
| 16 |
+
"sprite_restricted_shapes": [
|
| 17 |
+
"flower_4_w03"
|
| 18 |
+
],
|
| 19 |
+
"sprite_right_side_threshold": 0.5,
|
| 20 |
+
"sprite_shapes": [
|
| 21 |
+
"flower_4_w03",
|
| 22 |
+
"star_6_r04",
|
| 23 |
+
"flower_6_w03",
|
| 24 |
+
"drop_15",
|
| 25 |
+
"closed_hollow_polygon_3",
|
| 26 |
+
"closed_hollow_ellipse_05"
|
| 27 |
+
],
|
| 28 |
+
"sprites_large_cache": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 29 |
+
"train_rule": "Train on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'drop_15', 'flower_4_w03', 'flower_6_w03', 'star_6_r04'] except ['flower_4_w03'] are restricted to position_x <= 0.5.",
|
| 30 |
+
"val_fraction": 0.1
|
| 31 |
+
},
|
| 32 |
+
"metrics": {
|
| 33 |
+
"in_domain": {
|
| 34 |
+
"n_examples": 16896,
|
| 35 |
+
"raw": {
|
| 36 |
+
"bpd": 0.03991794769623966,
|
| 37 |
+
"elbo": 113.33227839614406,
|
| 38 |
+
"reconstruction_loss": 8.575856945731424,
|
| 39 |
+
"regularization_loss": 104.75642163825758
|
| 40 |
+
},
|
| 41 |
+
"weighted": {
|
| 42 |
+
"bpd": 0.05151193128955184,
|
| 43 |
+
"elbo": 146.24911522142816,
|
| 44 |
+
"reconstruction_loss": 41.492693323077575,
|
| 45 |
+
"regularization_loss": 104.75642163825758
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"ood": {
|
| 49 |
+
"n_examples": 15360,
|
| 50 |
+
"raw": {
|
| 51 |
+
"bpd": 0.056244553873936336,
|
| 52 |
+
"elbo": 159.68565012613934,
|
| 53 |
+
"reconstruction_loss": 49.769784196217856,
|
| 54 |
+
"regularization_loss": 109.91586666107177
|
| 55 |
+
},
|
| 56 |
+
"weighted": {
|
| 57 |
+
"bpd": 0.11983260735869408,
|
| 58 |
+
"elbo": 340.22045720418294,
|
| 59 |
+
"reconstruction_loss": 230.3045893351237,
|
| 60 |
+
"regularization_loss": 109.91586666107177
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"train": {
|
| 64 |
+
"n_examples": 152064,
|
| 65 |
+
"raw": {
|
| 66 |
+
"bpd": 0.039240732346896574,
|
| 67 |
+
"elbo": 111.40957519582626,
|
| 68 |
+
"reconstruction_loss": 6.660357318743311,
|
| 69 |
+
"regularization_loss": 104.749217916418
|
| 70 |
+
},
|
| 71 |
+
"weighted": {
|
| 72 |
+
"bpd": 0.0483484143667199,
|
| 73 |
+
"elbo": 137.26747670799796,
|
| 74 |
+
"reconstruction_loss": 32.51825903882884,
|
| 75 |
+
"regularization_loss": 104.749217916418
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"seed": 2232829604
|
| 80 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoints": {
|
| 3 |
+
"best_in_domain": {
|
| 4 |
+
"monitor": "val_in_domain_bpd",
|
| 5 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 6 |
+
"score": 0.05145693197846413
|
| 7 |
+
},
|
| 8 |
+
"best_ood": {
|
| 9 |
+
"monitor": "val_ood_bpd",
|
| 10 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_ood.ckpt",
|
| 11 |
+
"score": 0.10775741189718246
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"default_checkpoint": "best_in_domain"
|
| 15 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b281a0a4ad1210e142341ad2193004ea0a09db4055155bf7ceab2bf68ff055ed
|
| 3 |
+
size 17277026
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"has_factor_structure": false,
|
| 91 |
+
"image_size": 64,
|
| 92 |
+
"num_images": 768000,
|
| 93 |
+
"num_values": 4,
|
| 94 |
+
"output_channels": 1,
|
| 95 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 96 |
+
"split_config": {
|
| 97 |
+
"bg_colors_from": "unseen",
|
| 98 |
+
"fg_colors_from": "unseen",
|
| 99 |
+
"ood_bg_colors": [],
|
| 100 |
+
"ood_fg_colors": [],
|
| 101 |
+
"ood_index_range": {
|
| 102 |
+
"start": 768000,
|
| 103 |
+
"stop": 768000
|
| 104 |
+
},
|
| 105 |
+
"ood_shapes": [],
|
| 106 |
+
"ood_size": 0,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"shapes_from": "unseen",
|
| 109 |
+
"train_bg_colors": [
|
| 110 |
+
[
|
| 111 |
+
0,
|
| 112 |
+
0,
|
| 113 |
+
0
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"train_fg_colors": [
|
| 117 |
+
[
|
| 118 |
+
3,
|
| 119 |
+
3,
|
| 120 |
+
3
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"train_index_range": {
|
| 124 |
+
"start": 0,
|
| 125 |
+
"stop": 768000
|
| 126 |
+
},
|
| 127 |
+
"train_shapes": [
|
| 128 |
+
"polygon_3",
|
| 129 |
+
"polygon_4",
|
| 130 |
+
"polygon_5",
|
| 131 |
+
"star_3_r02",
|
| 132 |
+
"star_4_r04",
|
| 133 |
+
"star_5_r04",
|
| 134 |
+
"star_6_r04",
|
| 135 |
+
"ellipse_050",
|
| 136 |
+
"heart",
|
| 137 |
+
"flower_2_w03",
|
| 138 |
+
"flower_3_w03",
|
| 139 |
+
"flower_4_w03",
|
| 140 |
+
"flower_5_w03",
|
| 141 |
+
"flower_6_w03",
|
| 142 |
+
"rectangle_03",
|
| 143 |
+
"cross_065",
|
| 144 |
+
"crescent_025",
|
| 145 |
+
"drop_15",
|
| 146 |
+
"closed_hollow_polygon_3",
|
| 147 |
+
"closed_hollow_polygon_4",
|
| 148 |
+
"closed_hollow_polygon_5",
|
| 149 |
+
"hollow_polygon_3",
|
| 150 |
+
"hollow_polygon_4",
|
| 151 |
+
"hollow_polygon_5",
|
| 152 |
+
"closed_hollow_ellipse_05"
|
| 153 |
+
],
|
| 154 |
+
"train_size": 768000
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
"dataset_name": "sprites_large",
|
| 158 |
+
"loader_filter": {
|
| 159 |
+
"seed": 2232829604,
|
| 160 |
+
"sprite_restricted_shapes": [
|
| 161 |
+
"flower_4_w03"
|
| 162 |
+
],
|
| 163 |
+
"sprite_right_side_threshold": 0.5,
|
| 164 |
+
"sprite_shapes": [
|
| 165 |
+
"flower_4_w03",
|
| 166 |
+
"star_6_r04",
|
| 167 |
+
"flower_6_w03",
|
| 168 |
+
"drop_15",
|
| 169 |
+
"closed_hollow_polygon_3",
|
| 170 |
+
"closed_hollow_ellipse_05"
|
| 171 |
+
],
|
| 172 |
+
"val_fraction": 0.1
|
| 173 |
+
},
|
| 174 |
+
"restricted_shape_counts": {
|
| 175 |
+
"flower_4_w03": {
|
| 176 |
+
"in_domain": 15360,
|
| 177 |
+
"ood": 15360
|
| 178 |
+
}
|
| 179 |
+
},
|
| 180 |
+
"splits": {
|
| 181 |
+
"train_rule": "Train on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'drop_15', 'flower_4_w03', 'flower_6_w03', 'star_6_r04'] except ['flower_4_w03'] are restricted to position_x <= 0.5.",
|
| 182 |
+
"train_size": 152064,
|
| 183 |
+
"val_in_domain_rule": "Validate in-domain on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'drop_15', 'flower_4_w03', 'flower_6_w03', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 184 |
+
"val_in_domain_size": 16896,
|
| 185 |
+
"val_ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['flower_4_w03'] within shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'drop_15', 'flower_4_w03', 'flower_6_w03', 'star_6_r04'].",
|
| 186 |
+
"val_ood_size": 15360
|
| 187 |
+
}
|
| 188 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775251977.node04.3967927.15
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:757db3d6668492db0deebcdb906668d3c5f6f6d03bda9e0fed0335d1ab3c88d6
|
| 3 |
+
size 328737
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
num_filters: 64
|
| 2 |
+
z_dim: 32
|
| 3 |
+
lr: 0.001
|
| 4 |
+
num_channels: 1
|
| 5 |
+
num_values: 4
|
| 6 |
+
image_size: 64
|
| 7 |
+
bbox_loss_inside_weight: 9.0
|
| 8 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/sweep_run_config.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt"
|
| 91 |
+
},
|
| 92 |
+
"dataloader": {
|
| 93 |
+
"sprite_restricted_shapes": [
|
| 94 |
+
"flower_4_w03"
|
| 95 |
+
],
|
| 96 |
+
"sprite_right_side_threshold": 0.5,
|
| 97 |
+
"sprite_shapes": [
|
| 98 |
+
"flower_4_w03",
|
| 99 |
+
"star_6_r04",
|
| 100 |
+
"flower_6_w03",
|
| 101 |
+
"drop_15",
|
| 102 |
+
"closed_hollow_polygon_3",
|
| 103 |
+
"closed_hollow_ellipse_05"
|
| 104 |
+
],
|
| 105 |
+
"val_fraction": 0.1
|
| 106 |
+
},
|
| 107 |
+
"held_out_shape": "flower_4_w03",
|
| 108 |
+
"n_shapes": 6,
|
| 109 |
+
"rerun_index": 5,
|
| 110 |
+
"run_index": 15,
|
| 111 |
+
"run_name": "run_015_rerun_05_06shapes_zdim_032",
|
| 112 |
+
"run_seed": 2232829604,
|
| 113 |
+
"run_shapes": [
|
| 114 |
+
"flower_4_w03",
|
| 115 |
+
"star_6_r04",
|
| 116 |
+
"flower_6_w03",
|
| 117 |
+
"drop_15",
|
| 118 |
+
"closed_hollow_polygon_3",
|
| 119 |
+
"closed_hollow_ellipse_05"
|
| 120 |
+
],
|
| 121 |
+
"training": {
|
| 122 |
+
"base_seed": 42,
|
| 123 |
+
"batch_size": 128,
|
| 124 |
+
"bbox_loss_inside_weight": 9.0,
|
| 125 |
+
"bbox_loss_outside_weight": 1.0,
|
| 126 |
+
"epochs": 100,
|
| 127 |
+
"lr": 0.001,
|
| 128 |
+
"num_filters": 64,
|
| 129 |
+
"num_values": 4,
|
| 130 |
+
"num_workers": 0,
|
| 131 |
+
"seed": 2232829604
|
| 132 |
+
},
|
| 133 |
+
"z_dim": 32
|
| 134 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_06shapes_zdim_032/sweep_run_config.yaml
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_index: 15
|
| 2 |
+
rerun_index: 5
|
| 3 |
+
run_name: run_015_rerun_05_06shapes_zdim_032
|
| 4 |
+
run_seed: 2232829604
|
| 5 |
+
z_dim: 32
|
| 6 |
+
n_shapes: 6
|
| 7 |
+
held_out_shape: flower_4_w03
|
| 8 |
+
run_shapes:
|
| 9 |
+
- flower_4_w03
|
| 10 |
+
- star_6_r04
|
| 11 |
+
- flower_6_w03
|
| 12 |
+
- drop_15
|
| 13 |
+
- closed_hollow_polygon_3
|
| 14 |
+
- closed_hollow_ellipse_05
|
| 15 |
+
cache:
|
| 16 |
+
path: data/lils/dsprites_large_6_20_16_16.pt
|
| 17 |
+
available_shapes:
|
| 18 |
+
- polygon_3
|
| 19 |
+
- polygon_4
|
| 20 |
+
- polygon_5
|
| 21 |
+
- star_3_r02
|
| 22 |
+
- star_4_r04
|
| 23 |
+
- star_5_r04
|
| 24 |
+
- star_6_r04
|
| 25 |
+
- ellipse_050
|
| 26 |
+
- heart
|
| 27 |
+
- flower_2_w03
|
| 28 |
+
- flower_3_w03
|
| 29 |
+
- flower_4_w03
|
| 30 |
+
- flower_5_w03
|
| 31 |
+
- flower_6_w03
|
| 32 |
+
- rectangle_03
|
| 33 |
+
- cross_065
|
| 34 |
+
- crescent_025
|
| 35 |
+
- drop_15
|
| 36 |
+
- closed_hollow_polygon_3
|
| 37 |
+
- closed_hollow_polygon_4
|
| 38 |
+
- closed_hollow_polygon_5
|
| 39 |
+
- hollow_polygon_3
|
| 40 |
+
- hollow_polygon_4
|
| 41 |
+
- hollow_polygon_5
|
| 42 |
+
- closed_hollow_ellipse_05
|
| 43 |
+
generation_config:
|
| 44 |
+
seed: 42
|
| 45 |
+
image_size: 64
|
| 46 |
+
num_values: 4
|
| 47 |
+
output_channels: 1
|
| 48 |
+
output: data/lils/dsprites_large_6_20_16_16.pt
|
| 49 |
+
scale_space: renderer
|
| 50 |
+
position_space: renderer
|
| 51 |
+
shape_pool: all
|
| 52 |
+
candidate_fg_colors:
|
| 53 |
+
- - 255
|
| 54 |
+
- 255
|
| 55 |
+
- 255
|
| 56 |
+
candidate_bg_colors:
|
| 57 |
+
- - 0
|
| 58 |
+
- 0
|
| 59 |
+
- 0
|
| 60 |
+
scales:
|
| 61 |
+
- 0.2
|
| 62 |
+
- 0.24
|
| 63 |
+
- 0.28
|
| 64 |
+
- 0.32
|
| 65 |
+
- 0.36
|
| 66 |
+
- 0.4
|
| 67 |
+
orientations:
|
| 68 |
+
min: 0.0
|
| 69 |
+
max: 6.28318531
|
| 70 |
+
num: 20
|
| 71 |
+
positions_x:
|
| 72 |
+
min: 0.2
|
| 73 |
+
max: 0.8
|
| 74 |
+
num: 16
|
| 75 |
+
positions_y:
|
| 76 |
+
min: 0.2
|
| 77 |
+
max: 0.8
|
| 78 |
+
num: 16
|
| 79 |
+
train:
|
| 80 |
+
num_shapes: 25
|
| 81 |
+
num_fg_colors: 1
|
| 82 |
+
num_bg_colors: 1
|
| 83 |
+
ood:
|
| 84 |
+
num_shapes: 0
|
| 85 |
+
shapes_from: unseen
|
| 86 |
+
num_fg_colors: 0
|
| 87 |
+
fg_colors_from: unseen
|
| 88 |
+
num_bg_colors: 0
|
| 89 |
+
bg_colors_from: unseen
|
| 90 |
+
dataloader:
|
| 91 |
+
sprite_shapes:
|
| 92 |
+
- flower_4_w03
|
| 93 |
+
- star_6_r04
|
| 94 |
+
- flower_6_w03
|
| 95 |
+
- drop_15
|
| 96 |
+
- closed_hollow_polygon_3
|
| 97 |
+
- closed_hollow_ellipse_05
|
| 98 |
+
sprite_restricted_shapes:
|
| 99 |
+
- flower_4_w03
|
| 100 |
+
sprite_right_side_threshold: 0.5
|
| 101 |
+
val_fraction: 0.1
|
| 102 |
+
training:
|
| 103 |
+
epochs: 100
|
| 104 |
+
batch_size: 128
|
| 105 |
+
num_workers: 0
|
| 106 |
+
num_values: 4
|
| 107 |
+
num_filters: 64
|
| 108 |
+
lr: 0.001
|
| 109 |
+
seed: 2232829604
|
| 110 |
+
base_seed: 42
|
| 111 |
+
bbox_loss_inside_weight: 9.0
|
| 112 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/checkpoint_eval/best_in_domain/evaluation_metrics.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_name": "best_in_domain",
|
| 3 |
+
"checkpoint_path": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/checkpoints/best_in_domain.ckpt",
|
| 4 |
+
"device": "cuda",
|
| 5 |
+
"format_version": 1,
|
| 6 |
+
"loader_config": {
|
| 7 |
+
"in_domain_rule": "Validate in-domain on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'closed_hollow_polygon_4', 'crescent_025', 'cross_065', 'drop_15', 'ellipse_050', 'flower_2_w03', 'flower_3_w03', 'flower_4_w03', 'flower_5_w03', 'heart', 'hollow_polygon_3', 'hollow_polygon_4', 'hollow_polygon_5', 'polygon_3', 'polygon_4', 'rectangle_03', 'star_5_r04', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 8 |
+
"ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['hollow_polygon_5'] within shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'closed_hollow_polygon_4', 'crescent_025', 'cross_065', 'drop_15', 'ellipse_050', 'flower_2_w03', 'flower_3_w03', 'flower_4_w03', 'flower_5_w03', 'heart', 'hollow_polygon_3', 'hollow_polygon_4', 'hollow_polygon_5', 'polygon_3', 'polygon_4', 'rectangle_03', 'star_5_r04', 'star_6_r04'].",
|
| 9 |
+
"restricted_shape_counts": {
|
| 10 |
+
"hollow_polygon_5": {
|
| 11 |
+
"in_domain": 15360,
|
| 12 |
+
"ood": 15360
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"seed": 802206922,
|
| 16 |
+
"sprite_restricted_shapes": [
|
| 17 |
+
"hollow_polygon_5"
|
| 18 |
+
],
|
| 19 |
+
"sprite_right_side_threshold": 0.5,
|
| 20 |
+
"sprite_shapes": [
|
| 21 |
+
"hollow_polygon_5",
|
| 22 |
+
"polygon_3",
|
| 23 |
+
"polygon_4",
|
| 24 |
+
"star_5_r04",
|
| 25 |
+
"star_6_r04",
|
| 26 |
+
"ellipse_050",
|
| 27 |
+
"heart",
|
| 28 |
+
"flower_2_w03",
|
| 29 |
+
"flower_3_w03",
|
| 30 |
+
"flower_4_w03",
|
| 31 |
+
"flower_5_w03",
|
| 32 |
+
"rectangle_03",
|
| 33 |
+
"cross_065",
|
| 34 |
+
"crescent_025",
|
| 35 |
+
"drop_15",
|
| 36 |
+
"closed_hollow_polygon_3",
|
| 37 |
+
"closed_hollow_polygon_4",
|
| 38 |
+
"hollow_polygon_3",
|
| 39 |
+
"hollow_polygon_4",
|
| 40 |
+
"closed_hollow_ellipse_05"
|
| 41 |
+
],
|
| 42 |
+
"sprites_large_cache": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 43 |
+
"train_rule": "Train on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'closed_hollow_polygon_4', 'crescent_025', 'cross_065', 'drop_15', 'ellipse_050', 'flower_2_w03', 'flower_3_w03', 'flower_4_w03', 'flower_5_w03', 'heart', 'hollow_polygon_3', 'hollow_polygon_4', 'hollow_polygon_5', 'polygon_3', 'polygon_4', 'rectangle_03', 'star_5_r04', 'star_6_r04'] except ['hollow_polygon_5'] are restricted to position_x <= 0.5.",
|
| 44 |
+
"val_fraction": 0.1
|
| 45 |
+
},
|
| 46 |
+
"metrics": {
|
| 47 |
+
"in_domain": {
|
| 48 |
+
"n_examples": 59904,
|
| 49 |
+
"raw": {
|
| 50 |
+
"bpd": 0.05357512811787872,
|
| 51 |
+
"elbo": 152.10680135091147,
|
| 52 |
+
"reconstruction_loss": 42.37856234036959,
|
| 53 |
+
"regularization_loss": 109.72823889642699
|
| 54 |
+
},
|
| 55 |
+
"weighted": {
|
| 56 |
+
"bpd": 0.11372159330699688,
|
| 57 |
+
"elbo": 322.8704882238665,
|
| 58 |
+
"reconstruction_loss": 213.14224934374164,
|
| 59 |
+
"regularization_loss": 109.72823889642699
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"ood": {
|
| 63 |
+
"n_examples": 15360,
|
| 64 |
+
"raw": {
|
| 65 |
+
"bpd": 0.061452649999409914,
|
| 66 |
+
"elbo": 174.4721159617106,
|
| 67 |
+
"reconstruction_loss": 62.810577901204425,
|
| 68 |
+
"regularization_loss": 111.6615385055542
|
| 69 |
+
},
|
| 70 |
+
"weighted": {
|
| 71 |
+
"bpd": 0.14939624120791753,
|
| 72 |
+
"elbo": 424.1554812113444,
|
| 73 |
+
"reconstruction_loss": 312.49394302368165,
|
| 74 |
+
"regularization_loss": 111.6615385055542
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"train": {
|
| 78 |
+
"n_examples": 539136,
|
| 79 |
+
"raw": {
|
| 80 |
+
"bpd": 0.05344748493825269,
|
| 81 |
+
"elbo": 151.74440547294654,
|
| 82 |
+
"reconstruction_loss": 42.00591549687689,
|
| 83 |
+
"regularization_loss": 109.73849002950438
|
| 84 |
+
},
|
| 85 |
+
"weighted": {
|
| 86 |
+
"bpd": 0.11307157912350844,
|
| 87 |
+
"elbo": 321.02501294461183,
|
| 88 |
+
"reconstruction_loss": 211.28652303465637,
|
| 89 |
+
"regularization_loss": 109.73849002950438
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
"seed": 802206922
|
| 94 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/checkpoints/best_in_domain.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c71c6afc42cf3dd77b49b95f14a8cd743cc7c94b18e728552f0b693d43592ef0
|
| 3 |
+
size 17277026
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/dataset_loader_config.json
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"has_factor_structure": false,
|
| 91 |
+
"image_size": 64,
|
| 92 |
+
"num_images": 768000,
|
| 93 |
+
"num_values": 4,
|
| 94 |
+
"output_channels": 1,
|
| 95 |
+
"path": "data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 96 |
+
"split_config": {
|
| 97 |
+
"bg_colors_from": "unseen",
|
| 98 |
+
"fg_colors_from": "unseen",
|
| 99 |
+
"ood_bg_colors": [],
|
| 100 |
+
"ood_fg_colors": [],
|
| 101 |
+
"ood_index_range": {
|
| 102 |
+
"start": 768000,
|
| 103 |
+
"stop": 768000
|
| 104 |
+
},
|
| 105 |
+
"ood_shapes": [],
|
| 106 |
+
"ood_size": 0,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"shapes_from": "unseen",
|
| 109 |
+
"train_bg_colors": [
|
| 110 |
+
[
|
| 111 |
+
0,
|
| 112 |
+
0,
|
| 113 |
+
0
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"train_fg_colors": [
|
| 117 |
+
[
|
| 118 |
+
3,
|
| 119 |
+
3,
|
| 120 |
+
3
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"train_index_range": {
|
| 124 |
+
"start": 0,
|
| 125 |
+
"stop": 768000
|
| 126 |
+
},
|
| 127 |
+
"train_shapes": [
|
| 128 |
+
"polygon_3",
|
| 129 |
+
"polygon_4",
|
| 130 |
+
"polygon_5",
|
| 131 |
+
"star_3_r02",
|
| 132 |
+
"star_4_r04",
|
| 133 |
+
"star_5_r04",
|
| 134 |
+
"star_6_r04",
|
| 135 |
+
"ellipse_050",
|
| 136 |
+
"heart",
|
| 137 |
+
"flower_2_w03",
|
| 138 |
+
"flower_3_w03",
|
| 139 |
+
"flower_4_w03",
|
| 140 |
+
"flower_5_w03",
|
| 141 |
+
"flower_6_w03",
|
| 142 |
+
"rectangle_03",
|
| 143 |
+
"cross_065",
|
| 144 |
+
"crescent_025",
|
| 145 |
+
"drop_15",
|
| 146 |
+
"closed_hollow_polygon_3",
|
| 147 |
+
"closed_hollow_polygon_4",
|
| 148 |
+
"closed_hollow_polygon_5",
|
| 149 |
+
"hollow_polygon_3",
|
| 150 |
+
"hollow_polygon_4",
|
| 151 |
+
"hollow_polygon_5",
|
| 152 |
+
"closed_hollow_ellipse_05"
|
| 153 |
+
],
|
| 154 |
+
"train_size": 768000
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
"dataset_name": "sprites_large",
|
| 158 |
+
"loader_filter": {
|
| 159 |
+
"seed": 802206922,
|
| 160 |
+
"sprite_restricted_shapes": [
|
| 161 |
+
"hollow_polygon_5"
|
| 162 |
+
],
|
| 163 |
+
"sprite_right_side_threshold": 0.5,
|
| 164 |
+
"sprite_shapes": [
|
| 165 |
+
"hollow_polygon_5",
|
| 166 |
+
"polygon_3",
|
| 167 |
+
"polygon_4",
|
| 168 |
+
"star_5_r04",
|
| 169 |
+
"star_6_r04",
|
| 170 |
+
"ellipse_050",
|
| 171 |
+
"heart",
|
| 172 |
+
"flower_2_w03",
|
| 173 |
+
"flower_3_w03",
|
| 174 |
+
"flower_4_w03",
|
| 175 |
+
"flower_5_w03",
|
| 176 |
+
"rectangle_03",
|
| 177 |
+
"cross_065",
|
| 178 |
+
"crescent_025",
|
| 179 |
+
"drop_15",
|
| 180 |
+
"closed_hollow_polygon_3",
|
| 181 |
+
"closed_hollow_polygon_4",
|
| 182 |
+
"hollow_polygon_3",
|
| 183 |
+
"hollow_polygon_4",
|
| 184 |
+
"closed_hollow_ellipse_05"
|
| 185 |
+
],
|
| 186 |
+
"val_fraction": 0.1
|
| 187 |
+
},
|
| 188 |
+
"restricted_shape_counts": {
|
| 189 |
+
"hollow_polygon_5": {
|
| 190 |
+
"in_domain": 15360,
|
| 191 |
+
"ood": 15360
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
"splits": {
|
| 195 |
+
"train_rule": "Train on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'closed_hollow_polygon_4', 'crescent_025', 'cross_065', 'drop_15', 'ellipse_050', 'flower_2_w03', 'flower_3_w03', 'flower_4_w03', 'flower_5_w03', 'heart', 'hollow_polygon_3', 'hollow_polygon_4', 'hollow_polygon_5', 'polygon_3', 'polygon_4', 'rectangle_03', 'star_5_r04', 'star_6_r04'] except ['hollow_polygon_5'] are restricted to position_x <= 0.5.",
|
| 196 |
+
"train_size": 539136,
|
| 197 |
+
"val_in_domain_rule": "Validate in-domain on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'closed_hollow_polygon_4', 'crescent_025', 'cross_065', 'drop_15', 'ellipse_050', 'flower_2_w03', 'flower_3_w03', 'flower_4_w03', 'flower_5_w03', 'heart', 'hollow_polygon_3', 'hollow_polygon_4', 'hollow_polygon_5', 'polygon_3', 'polygon_4', 'rectangle_03', 'star_5_r04', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 198 |
+
"val_in_domain_size": 59904,
|
| 199 |
+
"val_ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['hollow_polygon_5'] within shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'closed_hollow_polygon_4', 'crescent_025', 'cross_065', 'drop_15', 'ellipse_050', 'flower_2_w03', 'flower_3_w03', 'flower_4_w03', 'flower_5_w03', 'heart', 'hollow_polygon_3', 'hollow_polygon_4', 'hollow_polygon_5', 'polygon_3', 'polygon_4', 'rectangle_03', 'star_5_r04', 'star_6_r04'].",
|
| 200 |
+
"val_ood_size": 15360
|
| 201 |
+
}
|
| 202 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/events.out.tfevents.1775723188.node08.2833613.15
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09412d3cb02cf01559e25db82780b0c786151ea1f60155a3d877792c287f1132
|
| 3 |
+
size 17609
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/lightning_logs/version_12462/hparams.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
num_filters: 64
|
| 2 |
+
z_dim: 32
|
| 3 |
+
lr: 0.001
|
| 4 |
+
num_channels: 1
|
| 5 |
+
num_values: 4
|
| 6 |
+
image_size: 64
|
| 7 |
+
bbox_loss_inside_weight: 9.0
|
| 8 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/sweep_run_config.json
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"path": "data/dsprites_large/dsprites_large_6_20_16_16.pt"
|
| 91 |
+
},
|
| 92 |
+
"dataloader": {
|
| 93 |
+
"sprite_restricted_shapes": [
|
| 94 |
+
"hollow_polygon_5"
|
| 95 |
+
],
|
| 96 |
+
"sprite_right_side_threshold": 0.5,
|
| 97 |
+
"sprite_shapes": [
|
| 98 |
+
"hollow_polygon_5",
|
| 99 |
+
"polygon_3",
|
| 100 |
+
"polygon_4",
|
| 101 |
+
"star_5_r04",
|
| 102 |
+
"star_6_r04",
|
| 103 |
+
"ellipse_050",
|
| 104 |
+
"heart",
|
| 105 |
+
"flower_2_w03",
|
| 106 |
+
"flower_3_w03",
|
| 107 |
+
"flower_4_w03",
|
| 108 |
+
"flower_5_w03",
|
| 109 |
+
"rectangle_03",
|
| 110 |
+
"cross_065",
|
| 111 |
+
"crescent_025",
|
| 112 |
+
"drop_15",
|
| 113 |
+
"closed_hollow_polygon_3",
|
| 114 |
+
"closed_hollow_polygon_4",
|
| 115 |
+
"hollow_polygon_3",
|
| 116 |
+
"hollow_polygon_4",
|
| 117 |
+
"closed_hollow_ellipse_05"
|
| 118 |
+
],
|
| 119 |
+
"val_fraction": 0.1
|
| 120 |
+
},
|
| 121 |
+
"held_out_shape": "hollow_polygon_5",
|
| 122 |
+
"n_shapes": 20,
|
| 123 |
+
"rerun_index": 5,
|
| 124 |
+
"run_index": 15,
|
| 125 |
+
"run_name": "run_015_rerun_05_20shapes_zdim_032",
|
| 126 |
+
"run_seed": 802206922,
|
| 127 |
+
"run_shapes": [
|
| 128 |
+
"hollow_polygon_5",
|
| 129 |
+
"polygon_3",
|
| 130 |
+
"polygon_4",
|
| 131 |
+
"star_5_r04",
|
| 132 |
+
"star_6_r04",
|
| 133 |
+
"ellipse_050",
|
| 134 |
+
"heart",
|
| 135 |
+
"flower_2_w03",
|
| 136 |
+
"flower_3_w03",
|
| 137 |
+
"flower_4_w03",
|
| 138 |
+
"flower_5_w03",
|
| 139 |
+
"rectangle_03",
|
| 140 |
+
"cross_065",
|
| 141 |
+
"crescent_025",
|
| 142 |
+
"drop_15",
|
| 143 |
+
"closed_hollow_polygon_3",
|
| 144 |
+
"closed_hollow_polygon_4",
|
| 145 |
+
"hollow_polygon_3",
|
| 146 |
+
"hollow_polygon_4",
|
| 147 |
+
"closed_hollow_ellipse_05"
|
| 148 |
+
],
|
| 149 |
+
"training": {
|
| 150 |
+
"base_seed": 42,
|
| 151 |
+
"batch_size": 128,
|
| 152 |
+
"bbox_loss_inside_weight": 9.0,
|
| 153 |
+
"bbox_loss_outside_weight": 1.0,
|
| 154 |
+
"epochs": 100,
|
| 155 |
+
"lr": 0.001,
|
| 156 |
+
"num_filters": 64,
|
| 157 |
+
"num_values": 4,
|
| 158 |
+
"num_workers": 10,
|
| 159 |
+
"seed": 802206922
|
| 160 |
+
},
|
| 161 |
+
"z_dim": 32
|
| 162 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_015_rerun_05_20shapes_zdim_032/sweep_run_config.yaml
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_index: 15
|
| 2 |
+
rerun_index: 5
|
| 3 |
+
run_name: run_015_rerun_05_20shapes_zdim_032
|
| 4 |
+
run_seed: 802206922
|
| 5 |
+
z_dim: 32
|
| 6 |
+
n_shapes: 20
|
| 7 |
+
held_out_shape: hollow_polygon_5
|
| 8 |
+
run_shapes:
|
| 9 |
+
- hollow_polygon_5
|
| 10 |
+
- polygon_3
|
| 11 |
+
- polygon_4
|
| 12 |
+
- star_5_r04
|
| 13 |
+
- star_6_r04
|
| 14 |
+
- ellipse_050
|
| 15 |
+
- heart
|
| 16 |
+
- flower_2_w03
|
| 17 |
+
- flower_3_w03
|
| 18 |
+
- flower_4_w03
|
| 19 |
+
- flower_5_w03
|
| 20 |
+
- rectangle_03
|
| 21 |
+
- cross_065
|
| 22 |
+
- crescent_025
|
| 23 |
+
- drop_15
|
| 24 |
+
- closed_hollow_polygon_3
|
| 25 |
+
- closed_hollow_polygon_4
|
| 26 |
+
- hollow_polygon_3
|
| 27 |
+
- hollow_polygon_4
|
| 28 |
+
- closed_hollow_ellipse_05
|
| 29 |
+
cache:
|
| 30 |
+
path: data/dsprites_large/dsprites_large_6_20_16_16.pt
|
| 31 |
+
available_shapes:
|
| 32 |
+
- polygon_3
|
| 33 |
+
- polygon_4
|
| 34 |
+
- polygon_5
|
| 35 |
+
- star_3_r02
|
| 36 |
+
- star_4_r04
|
| 37 |
+
- star_5_r04
|
| 38 |
+
- star_6_r04
|
| 39 |
+
- ellipse_050
|
| 40 |
+
- heart
|
| 41 |
+
- flower_2_w03
|
| 42 |
+
- flower_3_w03
|
| 43 |
+
- flower_4_w03
|
| 44 |
+
- flower_5_w03
|
| 45 |
+
- flower_6_w03
|
| 46 |
+
- rectangle_03
|
| 47 |
+
- cross_065
|
| 48 |
+
- crescent_025
|
| 49 |
+
- drop_15
|
| 50 |
+
- closed_hollow_polygon_3
|
| 51 |
+
- closed_hollow_polygon_4
|
| 52 |
+
- closed_hollow_polygon_5
|
| 53 |
+
- hollow_polygon_3
|
| 54 |
+
- hollow_polygon_4
|
| 55 |
+
- hollow_polygon_5
|
| 56 |
+
- closed_hollow_ellipse_05
|
| 57 |
+
generation_config:
|
| 58 |
+
seed: 42
|
| 59 |
+
image_size: 64
|
| 60 |
+
num_values: 4
|
| 61 |
+
output_channels: 1
|
| 62 |
+
output: data/dsprites_large/dsprites_large_6_20_16_16.pt
|
| 63 |
+
scale_space: renderer
|
| 64 |
+
position_space: renderer
|
| 65 |
+
shape_pool: all
|
| 66 |
+
candidate_fg_colors:
|
| 67 |
+
- - 255
|
| 68 |
+
- 255
|
| 69 |
+
- 255
|
| 70 |
+
candidate_bg_colors:
|
| 71 |
+
- - 0
|
| 72 |
+
- 0
|
| 73 |
+
- 0
|
| 74 |
+
scales:
|
| 75 |
+
- 0.2
|
| 76 |
+
- 0.24
|
| 77 |
+
- 0.28
|
| 78 |
+
- 0.32
|
| 79 |
+
- 0.36
|
| 80 |
+
- 0.4
|
| 81 |
+
orientations:
|
| 82 |
+
min: 0.0
|
| 83 |
+
max: 6.28318531
|
| 84 |
+
num: 20
|
| 85 |
+
positions_x:
|
| 86 |
+
min: 0.2
|
| 87 |
+
max: 0.8
|
| 88 |
+
num: 16
|
| 89 |
+
positions_y:
|
| 90 |
+
min: 0.2
|
| 91 |
+
max: 0.8
|
| 92 |
+
num: 16
|
| 93 |
+
train:
|
| 94 |
+
num_shapes: 25
|
| 95 |
+
num_fg_colors: 1
|
| 96 |
+
num_bg_colors: 1
|
| 97 |
+
ood:
|
| 98 |
+
num_shapes: 0
|
| 99 |
+
shapes_from: unseen
|
| 100 |
+
num_fg_colors: 0
|
| 101 |
+
fg_colors_from: unseen
|
| 102 |
+
num_bg_colors: 0
|
| 103 |
+
bg_colors_from: unseen
|
| 104 |
+
dataloader:
|
| 105 |
+
sprite_shapes:
|
| 106 |
+
- hollow_polygon_5
|
| 107 |
+
- polygon_3
|
| 108 |
+
- polygon_4
|
| 109 |
+
- star_5_r04
|
| 110 |
+
- star_6_r04
|
| 111 |
+
- ellipse_050
|
| 112 |
+
- heart
|
| 113 |
+
- flower_2_w03
|
| 114 |
+
- flower_3_w03
|
| 115 |
+
- flower_4_w03
|
| 116 |
+
- flower_5_w03
|
| 117 |
+
- rectangle_03
|
| 118 |
+
- cross_065
|
| 119 |
+
- crescent_025
|
| 120 |
+
- drop_15
|
| 121 |
+
- closed_hollow_polygon_3
|
| 122 |
+
- closed_hollow_polygon_4
|
| 123 |
+
- hollow_polygon_3
|
| 124 |
+
- hollow_polygon_4
|
| 125 |
+
- closed_hollow_ellipse_05
|
| 126 |
+
sprite_restricted_shapes:
|
| 127 |
+
- hollow_polygon_5
|
| 128 |
+
sprite_right_side_threshold: 0.5
|
| 129 |
+
val_fraction: 0.1
|
| 130 |
+
training:
|
| 131 |
+
epochs: 100
|
| 132 |
+
batch_size: 128
|
| 133 |
+
num_workers: 10
|
| 134 |
+
num_values: 4
|
| 135 |
+
num_filters: 64
|
| 136 |
+
lr: 0.001
|
| 137 |
+
seed: 802206922
|
| 138 |
+
base_seed: 42
|
| 139 |
+
bbox_loss_inside_weight: 9.0
|
| 140 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_name": "best_in_domain",
|
| 3 |
+
"checkpoint_path": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 4 |
+
"device": "cuda",
|
| 5 |
+
"format_version": 1,
|
| 6 |
+
"loader_config": {
|
| 7 |
+
"in_domain_rule": "Validate in-domain on shapes ['drop_15', 'ellipse_050', 'flower_6_w03', 'hollow_polygon_3', 'polygon_5', 'rectangle_03'] with the same shape-position combinations as training.",
|
| 8 |
+
"ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['polygon_5'] within shapes ['drop_15', 'ellipse_050', 'flower_6_w03', 'hollow_polygon_3', 'polygon_5', 'rectangle_03'].",
|
| 9 |
+
"restricted_shape_counts": {
|
| 10 |
+
"polygon_5": {
|
| 11 |
+
"in_domain": 15360,
|
| 12 |
+
"ood": 15360
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"seed": 1092210423,
|
| 16 |
+
"sprite_restricted_shapes": [
|
| 17 |
+
"polygon_5"
|
| 18 |
+
],
|
| 19 |
+
"sprite_right_side_threshold": 0.5,
|
| 20 |
+
"sprite_shapes": [
|
| 21 |
+
"polygon_5",
|
| 22 |
+
"ellipse_050",
|
| 23 |
+
"flower_6_w03",
|
| 24 |
+
"rectangle_03",
|
| 25 |
+
"drop_15",
|
| 26 |
+
"hollow_polygon_3"
|
| 27 |
+
],
|
| 28 |
+
"sprites_large_cache": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 29 |
+
"train_rule": "Train on shapes ['drop_15', 'ellipse_050', 'flower_6_w03', 'hollow_polygon_3', 'polygon_5', 'rectangle_03'] except ['polygon_5'] are restricted to position_x <= 0.5.",
|
| 30 |
+
"val_fraction": 0.1
|
| 31 |
+
},
|
| 32 |
+
"metrics": {
|
| 33 |
+
"in_domain": {
|
| 34 |
+
"n_examples": 16896,
|
| 35 |
+
"raw": {
|
| 36 |
+
"bpd": 0.036784404860527226,
|
| 37 |
+
"elbo": 104.43574032639012,
|
| 38 |
+
"reconstruction_loss": 7.4689015944798784,
|
| 39 |
+
"regularization_loss": 96.96683901006526
|
| 40 |
+
},
|
| 41 |
+
"weighted": {
|
| 42 |
+
"bpd": 0.046382718747763924,
|
| 43 |
+
"elbo": 131.68660990397134,
|
| 44 |
+
"reconstruction_loss": 34.719770922805324,
|
| 45 |
+
"regularization_loss": 96.96683901006526
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"ood": {
|
| 49 |
+
"n_examples": 15360,
|
| 50 |
+
"raw": {
|
| 51 |
+
"bpd": 0.04581700737277667,
|
| 52 |
+
"elbo": 130.08048051198324,
|
| 53 |
+
"reconstruction_loss": 27.162865972518922,
|
| 54 |
+
"regularization_loss": 102.91761461893718
|
| 55 |
+
},
|
| 56 |
+
"weighted": {
|
| 57 |
+
"bpd": 0.07244199713071188,
|
| 58 |
+
"elbo": 205.6723117828369,
|
| 59 |
+
"reconstruction_loss": 102.75469627380372,
|
| 60 |
+
"regularization_loss": 102.91761461893718
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"train": {
|
| 64 |
+
"n_examples": 152064,
|
| 65 |
+
"raw": {
|
| 66 |
+
"bpd": 0.036099473933253426,
|
| 67 |
+
"elbo": 102.49113150959464,
|
| 68 |
+
"reconstruction_loss": 5.484358551927689,
|
| 69 |
+
"regularization_loss": 97.00677291150848
|
| 70 |
+
},
|
| 71 |
+
"weighted": {
|
| 72 |
+
"bpd": 0.04353075435617155,
|
| 73 |
+
"elbo": 123.58950925756383,
|
| 74 |
+
"reconstruction_loss": 26.58273632357819,
|
| 75 |
+
"regularization_loss": 97.00677291150848
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"seed": 1092210423
|
| 80 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoints": {
|
| 3 |
+
"best_in_domain": {
|
| 4 |
+
"monitor": "val_in_domain_bpd",
|
| 5 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 6 |
+
"score": 0.04624028876423836
|
| 7 |
+
},
|
| 8 |
+
"best_ood": {
|
| 9 |
+
"monitor": "val_ood_bpd",
|
| 10 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_ood.ckpt",
|
| 11 |
+
"score": 0.07082855701446533
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"default_checkpoint": "best_in_domain"
|
| 15 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8d01d0336e0d1aaae714958da8d8da741a817045dd5afc25720da107cd8cee4
|
| 3 |
+
size 17277026
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"has_factor_structure": false,
|
| 91 |
+
"image_size": 64,
|
| 92 |
+
"num_images": 768000,
|
| 93 |
+
"num_values": 4,
|
| 94 |
+
"output_channels": 1,
|
| 95 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 96 |
+
"split_config": {
|
| 97 |
+
"bg_colors_from": "unseen",
|
| 98 |
+
"fg_colors_from": "unseen",
|
| 99 |
+
"ood_bg_colors": [],
|
| 100 |
+
"ood_fg_colors": [],
|
| 101 |
+
"ood_index_range": {
|
| 102 |
+
"start": 768000,
|
| 103 |
+
"stop": 768000
|
| 104 |
+
},
|
| 105 |
+
"ood_shapes": [],
|
| 106 |
+
"ood_size": 0,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"shapes_from": "unseen",
|
| 109 |
+
"train_bg_colors": [
|
| 110 |
+
[
|
| 111 |
+
0,
|
| 112 |
+
0,
|
| 113 |
+
0
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"train_fg_colors": [
|
| 117 |
+
[
|
| 118 |
+
3,
|
| 119 |
+
3,
|
| 120 |
+
3
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"train_index_range": {
|
| 124 |
+
"start": 0,
|
| 125 |
+
"stop": 768000
|
| 126 |
+
},
|
| 127 |
+
"train_shapes": [
|
| 128 |
+
"polygon_3",
|
| 129 |
+
"polygon_4",
|
| 130 |
+
"polygon_5",
|
| 131 |
+
"star_3_r02",
|
| 132 |
+
"star_4_r04",
|
| 133 |
+
"star_5_r04",
|
| 134 |
+
"star_6_r04",
|
| 135 |
+
"ellipse_050",
|
| 136 |
+
"heart",
|
| 137 |
+
"flower_2_w03",
|
| 138 |
+
"flower_3_w03",
|
| 139 |
+
"flower_4_w03",
|
| 140 |
+
"flower_5_w03",
|
| 141 |
+
"flower_6_w03",
|
| 142 |
+
"rectangle_03",
|
| 143 |
+
"cross_065",
|
| 144 |
+
"crescent_025",
|
| 145 |
+
"drop_15",
|
| 146 |
+
"closed_hollow_polygon_3",
|
| 147 |
+
"closed_hollow_polygon_4",
|
| 148 |
+
"closed_hollow_polygon_5",
|
| 149 |
+
"hollow_polygon_3",
|
| 150 |
+
"hollow_polygon_4",
|
| 151 |
+
"hollow_polygon_5",
|
| 152 |
+
"closed_hollow_ellipse_05"
|
| 153 |
+
],
|
| 154 |
+
"train_size": 768000
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
"dataset_name": "sprites_large",
|
| 158 |
+
"loader_filter": {
|
| 159 |
+
"seed": 1092210423,
|
| 160 |
+
"sprite_restricted_shapes": [
|
| 161 |
+
"polygon_5"
|
| 162 |
+
],
|
| 163 |
+
"sprite_right_side_threshold": 0.5,
|
| 164 |
+
"sprite_shapes": [
|
| 165 |
+
"polygon_5",
|
| 166 |
+
"ellipse_050",
|
| 167 |
+
"flower_6_w03",
|
| 168 |
+
"rectangle_03",
|
| 169 |
+
"drop_15",
|
| 170 |
+
"hollow_polygon_3"
|
| 171 |
+
],
|
| 172 |
+
"val_fraction": 0.1
|
| 173 |
+
},
|
| 174 |
+
"restricted_shape_counts": {
|
| 175 |
+
"polygon_5": {
|
| 176 |
+
"in_domain": 15360,
|
| 177 |
+
"ood": 15360
|
| 178 |
+
}
|
| 179 |
+
},
|
| 180 |
+
"splits": {
|
| 181 |
+
"train_rule": "Train on shapes ['drop_15', 'ellipse_050', 'flower_6_w03', 'hollow_polygon_3', 'polygon_5', 'rectangle_03'] except ['polygon_5'] are restricted to position_x <= 0.5.",
|
| 182 |
+
"train_size": 152064,
|
| 183 |
+
"val_in_domain_rule": "Validate in-domain on shapes ['drop_15', 'ellipse_050', 'flower_6_w03', 'hollow_polygon_3', 'polygon_5', 'rectangle_03'] with the same shape-position combinations as training.",
|
| 184 |
+
"val_in_domain_size": 16896,
|
| 185 |
+
"val_ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['polygon_5'] within shapes ['drop_15', 'ellipse_050', 'flower_6_w03', 'hollow_polygon_3', 'polygon_5', 'rectangle_03'].",
|
| 186 |
+
"val_ood_size": 15360
|
| 187 |
+
}
|
| 188 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775255895.node04.3967927.16
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24f58f5fdceaedb6198d85d107bdc944ac0b910a647161726f6d195f7b0d7da2
|
| 3 |
+
size 344432
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
num_filters: 64
|
| 2 |
+
z_dim: 32
|
| 3 |
+
lr: 0.001
|
| 4 |
+
num_channels: 1
|
| 5 |
+
num_values: 4
|
| 6 |
+
image_size: 64
|
| 7 |
+
bbox_loss_inside_weight: 9.0
|
| 8 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/sweep_run_config.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt"
|
| 91 |
+
},
|
| 92 |
+
"dataloader": {
|
| 93 |
+
"sprite_restricted_shapes": [
|
| 94 |
+
"polygon_5"
|
| 95 |
+
],
|
| 96 |
+
"sprite_right_side_threshold": 0.5,
|
| 97 |
+
"sprite_shapes": [
|
| 98 |
+
"polygon_5",
|
| 99 |
+
"ellipse_050",
|
| 100 |
+
"flower_6_w03",
|
| 101 |
+
"rectangle_03",
|
| 102 |
+
"drop_15",
|
| 103 |
+
"hollow_polygon_3"
|
| 104 |
+
],
|
| 105 |
+
"val_fraction": 0.1
|
| 106 |
+
},
|
| 107 |
+
"held_out_shape": "polygon_5",
|
| 108 |
+
"n_shapes": 6,
|
| 109 |
+
"rerun_index": 6,
|
| 110 |
+
"run_index": 16,
|
| 111 |
+
"run_name": "run_016_rerun_06_06shapes_zdim_032",
|
| 112 |
+
"run_seed": 1092210423,
|
| 113 |
+
"run_shapes": [
|
| 114 |
+
"polygon_5",
|
| 115 |
+
"ellipse_050",
|
| 116 |
+
"flower_6_w03",
|
| 117 |
+
"rectangle_03",
|
| 118 |
+
"drop_15",
|
| 119 |
+
"hollow_polygon_3"
|
| 120 |
+
],
|
| 121 |
+
"training": {
|
| 122 |
+
"base_seed": 42,
|
| 123 |
+
"batch_size": 128,
|
| 124 |
+
"bbox_loss_inside_weight": 9.0,
|
| 125 |
+
"bbox_loss_outside_weight": 1.0,
|
| 126 |
+
"epochs": 100,
|
| 127 |
+
"lr": 0.001,
|
| 128 |
+
"num_filters": 64,
|
| 129 |
+
"num_values": 4,
|
| 130 |
+
"num_workers": 0,
|
| 131 |
+
"seed": 1092210423
|
| 132 |
+
},
|
| 133 |
+
"z_dim": 32
|
| 134 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_016_rerun_06_06shapes_zdim_032/sweep_run_config.yaml
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_index: 16
|
| 2 |
+
rerun_index: 6
|
| 3 |
+
run_name: run_016_rerun_06_06shapes_zdim_032
|
| 4 |
+
run_seed: 1092210423
|
| 5 |
+
z_dim: 32
|
| 6 |
+
n_shapes: 6
|
| 7 |
+
held_out_shape: polygon_5
|
| 8 |
+
run_shapes:
|
| 9 |
+
- polygon_5
|
| 10 |
+
- ellipse_050
|
| 11 |
+
- flower_6_w03
|
| 12 |
+
- rectangle_03
|
| 13 |
+
- drop_15
|
| 14 |
+
- hollow_polygon_3
|
| 15 |
+
cache:
|
| 16 |
+
path: data/lils/dsprites_large_6_20_16_16.pt
|
| 17 |
+
available_shapes:
|
| 18 |
+
- polygon_3
|
| 19 |
+
- polygon_4
|
| 20 |
+
- polygon_5
|
| 21 |
+
- star_3_r02
|
| 22 |
+
- star_4_r04
|
| 23 |
+
- star_5_r04
|
| 24 |
+
- star_6_r04
|
| 25 |
+
- ellipse_050
|
| 26 |
+
- heart
|
| 27 |
+
- flower_2_w03
|
| 28 |
+
- flower_3_w03
|
| 29 |
+
- flower_4_w03
|
| 30 |
+
- flower_5_w03
|
| 31 |
+
- flower_6_w03
|
| 32 |
+
- rectangle_03
|
| 33 |
+
- cross_065
|
| 34 |
+
- crescent_025
|
| 35 |
+
- drop_15
|
| 36 |
+
- closed_hollow_polygon_3
|
| 37 |
+
- closed_hollow_polygon_4
|
| 38 |
+
- closed_hollow_polygon_5
|
| 39 |
+
- hollow_polygon_3
|
| 40 |
+
- hollow_polygon_4
|
| 41 |
+
- hollow_polygon_5
|
| 42 |
+
- closed_hollow_ellipse_05
|
| 43 |
+
generation_config:
|
| 44 |
+
seed: 42
|
| 45 |
+
image_size: 64
|
| 46 |
+
num_values: 4
|
| 47 |
+
output_channels: 1
|
| 48 |
+
output: data/lils/dsprites_large_6_20_16_16.pt
|
| 49 |
+
scale_space: renderer
|
| 50 |
+
position_space: renderer
|
| 51 |
+
shape_pool: all
|
| 52 |
+
candidate_fg_colors:
|
| 53 |
+
- - 255
|
| 54 |
+
- 255
|
| 55 |
+
- 255
|
| 56 |
+
candidate_bg_colors:
|
| 57 |
+
- - 0
|
| 58 |
+
- 0
|
| 59 |
+
- 0
|
| 60 |
+
scales:
|
| 61 |
+
- 0.2
|
| 62 |
+
- 0.24
|
| 63 |
+
- 0.28
|
| 64 |
+
- 0.32
|
| 65 |
+
- 0.36
|
| 66 |
+
- 0.4
|
| 67 |
+
orientations:
|
| 68 |
+
min: 0.0
|
| 69 |
+
max: 6.28318531
|
| 70 |
+
num: 20
|
| 71 |
+
positions_x:
|
| 72 |
+
min: 0.2
|
| 73 |
+
max: 0.8
|
| 74 |
+
num: 16
|
| 75 |
+
positions_y:
|
| 76 |
+
min: 0.2
|
| 77 |
+
max: 0.8
|
| 78 |
+
num: 16
|
| 79 |
+
train:
|
| 80 |
+
num_shapes: 25
|
| 81 |
+
num_fg_colors: 1
|
| 82 |
+
num_bg_colors: 1
|
| 83 |
+
ood:
|
| 84 |
+
num_shapes: 0
|
| 85 |
+
shapes_from: unseen
|
| 86 |
+
num_fg_colors: 0
|
| 87 |
+
fg_colors_from: unseen
|
| 88 |
+
num_bg_colors: 0
|
| 89 |
+
bg_colors_from: unseen
|
| 90 |
+
dataloader:
|
| 91 |
+
sprite_shapes:
|
| 92 |
+
- polygon_5
|
| 93 |
+
- ellipse_050
|
| 94 |
+
- flower_6_w03
|
| 95 |
+
- rectangle_03
|
| 96 |
+
- drop_15
|
| 97 |
+
- hollow_polygon_3
|
| 98 |
+
sprite_restricted_shapes:
|
| 99 |
+
- polygon_5
|
| 100 |
+
sprite_right_side_threshold: 0.5
|
| 101 |
+
val_fraction: 0.1
|
| 102 |
+
training:
|
| 103 |
+
epochs: 100
|
| 104 |
+
batch_size: 128
|
| 105 |
+
num_workers: 0
|
| 106 |
+
num_values: 4
|
| 107 |
+
num_filters: 64
|
| 108 |
+
lr: 0.001
|
| 109 |
+
seed: 1092210423
|
| 110 |
+
base_seed: 42
|
| 111 |
+
bbox_loss_inside_weight: 9.0
|
| 112 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_name": "best_in_domain",
|
| 3 |
+
"checkpoint_path": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 4 |
+
"device": "cuda",
|
| 5 |
+
"format_version": 1,
|
| 6 |
+
"loader_config": {
|
| 7 |
+
"in_domain_rule": "Validate in-domain on shapes ['closed_hollow_polygon_3', 'closed_hollow_polygon_5', 'drop_15', 'heart', 'hollow_polygon_5', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 8 |
+
"ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['star_6_r04'] within shapes ['closed_hollow_polygon_3', 'closed_hollow_polygon_5', 'drop_15', 'heart', 'hollow_polygon_5', 'star_6_r04'].",
|
| 9 |
+
"restricted_shape_counts": {
|
| 10 |
+
"star_6_r04": {
|
| 11 |
+
"in_domain": 15360,
|
| 12 |
+
"ood": 15360
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"seed": 1284945146,
|
| 16 |
+
"sprite_restricted_shapes": [
|
| 17 |
+
"star_6_r04"
|
| 18 |
+
],
|
| 19 |
+
"sprite_right_side_threshold": 0.5,
|
| 20 |
+
"sprite_shapes": [
|
| 21 |
+
"star_6_r04",
|
| 22 |
+
"heart",
|
| 23 |
+
"drop_15",
|
| 24 |
+
"closed_hollow_polygon_3",
|
| 25 |
+
"closed_hollow_polygon_5",
|
| 26 |
+
"hollow_polygon_5"
|
| 27 |
+
],
|
| 28 |
+
"sprites_large_cache": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 29 |
+
"train_rule": "Train on shapes ['closed_hollow_polygon_3', 'closed_hollow_polygon_5', 'drop_15', 'heart', 'hollow_polygon_5', 'star_6_r04'] except ['star_6_r04'] are restricted to position_x <= 0.5.",
|
| 30 |
+
"val_fraction": 0.1
|
| 31 |
+
},
|
| 32 |
+
"metrics": {
|
| 33 |
+
"in_domain": {
|
| 34 |
+
"n_examples": 16896,
|
| 35 |
+
"raw": {
|
| 36 |
+
"bpd": 0.038575493448385685,
|
| 37 |
+
"elbo": 109.52087546839859,
|
| 38 |
+
"reconstruction_loss": 7.375851436094805,
|
| 39 |
+
"regularization_loss": 102.14502409732702
|
| 40 |
+
},
|
| 41 |
+
"weighted": {
|
| 42 |
+
"bpd": 0.04842186549847776,
|
| 43 |
+
"elbo": 137.47601387717506,
|
| 44 |
+
"reconstruction_loss": 35.33099028558442,
|
| 45 |
+
"regularization_loss": 102.14502409732702
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"ood": {
|
| 49 |
+
"n_examples": 15360,
|
| 50 |
+
"raw": {
|
| 51 |
+
"bpd": 0.3938341888288657,
|
| 52 |
+
"elbo": 1118.1468114217123,
|
| 53 |
+
"reconstruction_loss": 1012.8729873657227,
|
| 54 |
+
"regularization_loss": 105.27382208506266
|
| 55 |
+
},
|
| 56 |
+
"weighted": {
|
| 57 |
+
"bpd": 1.8039337188005446,
|
| 58 |
+
"elbo": 5121.603938802084,
|
| 59 |
+
"reconstruction_loss": 5016.330122884115,
|
| 60 |
+
"regularization_loss": 105.27382208506266
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"train": {
|
| 64 |
+
"n_examples": 152064,
|
| 65 |
+
"raw": {
|
| 66 |
+
"bpd": 0.03794112680197665,
|
| 67 |
+
"elbo": 107.71982517948857,
|
| 68 |
+
"reconstruction_loss": 5.613649268342991,
|
| 69 |
+
"regularization_loss": 102.10617595248752
|
| 70 |
+
},
|
| 71 |
+
"weighted": {
|
| 72 |
+
"bpd": 0.0454883214450043,
|
| 73 |
+
"elbo": 129.1472984724976,
|
| 74 |
+
"reconstruction_loss": 27.041122516799053,
|
| 75 |
+
"regularization_loss": 102.10617595248752
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"seed": 1284945146
|
| 80 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoints": {
|
| 3 |
+
"best_in_domain": {
|
| 4 |
+
"monitor": "val_in_domain_bpd",
|
| 5 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 6 |
+
"score": 0.04839114844799042
|
| 7 |
+
},
|
| 8 |
+
"best_ood": {
|
| 9 |
+
"monitor": "val_ood_bpd",
|
| 10 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_ood.ckpt",
|
| 11 |
+
"score": 0.49248602986335754
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"default_checkpoint": "best_in_domain"
|
| 15 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f755271ff384ce3a40df063b319799e4ee554cdae6c9dbcff64de415ea3b019
|
| 3 |
+
size 17277026
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"has_factor_structure": false,
|
| 91 |
+
"image_size": 64,
|
| 92 |
+
"num_images": 768000,
|
| 93 |
+
"num_values": 4,
|
| 94 |
+
"output_channels": 1,
|
| 95 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 96 |
+
"split_config": {
|
| 97 |
+
"bg_colors_from": "unseen",
|
| 98 |
+
"fg_colors_from": "unseen",
|
| 99 |
+
"ood_bg_colors": [],
|
| 100 |
+
"ood_fg_colors": [],
|
| 101 |
+
"ood_index_range": {
|
| 102 |
+
"start": 768000,
|
| 103 |
+
"stop": 768000
|
| 104 |
+
},
|
| 105 |
+
"ood_shapes": [],
|
| 106 |
+
"ood_size": 0,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"shapes_from": "unseen",
|
| 109 |
+
"train_bg_colors": [
|
| 110 |
+
[
|
| 111 |
+
0,
|
| 112 |
+
0,
|
| 113 |
+
0
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"train_fg_colors": [
|
| 117 |
+
[
|
| 118 |
+
3,
|
| 119 |
+
3,
|
| 120 |
+
3
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"train_index_range": {
|
| 124 |
+
"start": 0,
|
| 125 |
+
"stop": 768000
|
| 126 |
+
},
|
| 127 |
+
"train_shapes": [
|
| 128 |
+
"polygon_3",
|
| 129 |
+
"polygon_4",
|
| 130 |
+
"polygon_5",
|
| 131 |
+
"star_3_r02",
|
| 132 |
+
"star_4_r04",
|
| 133 |
+
"star_5_r04",
|
| 134 |
+
"star_6_r04",
|
| 135 |
+
"ellipse_050",
|
| 136 |
+
"heart",
|
| 137 |
+
"flower_2_w03",
|
| 138 |
+
"flower_3_w03",
|
| 139 |
+
"flower_4_w03",
|
| 140 |
+
"flower_5_w03",
|
| 141 |
+
"flower_6_w03",
|
| 142 |
+
"rectangle_03",
|
| 143 |
+
"cross_065",
|
| 144 |
+
"crescent_025",
|
| 145 |
+
"drop_15",
|
| 146 |
+
"closed_hollow_polygon_3",
|
| 147 |
+
"closed_hollow_polygon_4",
|
| 148 |
+
"closed_hollow_polygon_5",
|
| 149 |
+
"hollow_polygon_3",
|
| 150 |
+
"hollow_polygon_4",
|
| 151 |
+
"hollow_polygon_5",
|
| 152 |
+
"closed_hollow_ellipse_05"
|
| 153 |
+
],
|
| 154 |
+
"train_size": 768000
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
"dataset_name": "sprites_large",
|
| 158 |
+
"loader_filter": {
|
| 159 |
+
"seed": 1284945146,
|
| 160 |
+
"sprite_restricted_shapes": [
|
| 161 |
+
"star_6_r04"
|
| 162 |
+
],
|
| 163 |
+
"sprite_right_side_threshold": 0.5,
|
| 164 |
+
"sprite_shapes": [
|
| 165 |
+
"star_6_r04",
|
| 166 |
+
"heart",
|
| 167 |
+
"drop_15",
|
| 168 |
+
"closed_hollow_polygon_3",
|
| 169 |
+
"closed_hollow_polygon_5",
|
| 170 |
+
"hollow_polygon_5"
|
| 171 |
+
],
|
| 172 |
+
"val_fraction": 0.1
|
| 173 |
+
},
|
| 174 |
+
"restricted_shape_counts": {
|
| 175 |
+
"star_6_r04": {
|
| 176 |
+
"in_domain": 15360,
|
| 177 |
+
"ood": 15360
|
| 178 |
+
}
|
| 179 |
+
},
|
| 180 |
+
"splits": {
|
| 181 |
+
"train_rule": "Train on shapes ['closed_hollow_polygon_3', 'closed_hollow_polygon_5', 'drop_15', 'heart', 'hollow_polygon_5', 'star_6_r04'] except ['star_6_r04'] are restricted to position_x <= 0.5.",
|
| 182 |
+
"train_size": 152064,
|
| 183 |
+
"val_in_domain_rule": "Validate in-domain on shapes ['closed_hollow_polygon_3', 'closed_hollow_polygon_5', 'drop_15', 'heart', 'hollow_polygon_5', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 184 |
+
"val_in_domain_size": 16896,
|
| 185 |
+
"val_ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['star_6_r04'] within shapes ['closed_hollow_polygon_3', 'closed_hollow_polygon_5', 'drop_15', 'heart', 'hollow_polygon_5', 'star_6_r04'].",
|
| 186 |
+
"val_ood_size": 15360
|
| 187 |
+
}
|
| 188 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775259819.node04.3967927.17
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2eaa7e0e12e180980e20076dacadc33deb804d26c2cb41da15fba6e6c9f6b492
|
| 3 |
+
size 368390
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
num_filters: 64
|
| 2 |
+
z_dim: 32
|
| 3 |
+
lr: 0.001
|
| 4 |
+
num_channels: 1
|
| 5 |
+
num_values: 4
|
| 6 |
+
image_size: 64
|
| 7 |
+
bbox_loss_inside_weight: 9.0
|
| 8 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/sweep_run_config.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt"
|
| 91 |
+
},
|
| 92 |
+
"dataloader": {
|
| 93 |
+
"sprite_restricted_shapes": [
|
| 94 |
+
"star_6_r04"
|
| 95 |
+
],
|
| 96 |
+
"sprite_right_side_threshold": 0.5,
|
| 97 |
+
"sprite_shapes": [
|
| 98 |
+
"star_6_r04",
|
| 99 |
+
"heart",
|
| 100 |
+
"drop_15",
|
| 101 |
+
"closed_hollow_polygon_3",
|
| 102 |
+
"closed_hollow_polygon_5",
|
| 103 |
+
"hollow_polygon_5"
|
| 104 |
+
],
|
| 105 |
+
"val_fraction": 0.1
|
| 106 |
+
},
|
| 107 |
+
"held_out_shape": "star_6_r04",
|
| 108 |
+
"n_shapes": 6,
|
| 109 |
+
"rerun_index": 7,
|
| 110 |
+
"run_index": 17,
|
| 111 |
+
"run_name": "run_017_rerun_07_06shapes_zdim_032",
|
| 112 |
+
"run_seed": 1284945146,
|
| 113 |
+
"run_shapes": [
|
| 114 |
+
"star_6_r04",
|
| 115 |
+
"heart",
|
| 116 |
+
"drop_15",
|
| 117 |
+
"closed_hollow_polygon_3",
|
| 118 |
+
"closed_hollow_polygon_5",
|
| 119 |
+
"hollow_polygon_5"
|
| 120 |
+
],
|
| 121 |
+
"training": {
|
| 122 |
+
"base_seed": 42,
|
| 123 |
+
"batch_size": 128,
|
| 124 |
+
"bbox_loss_inside_weight": 9.0,
|
| 125 |
+
"bbox_loss_outside_weight": 1.0,
|
| 126 |
+
"epochs": 100,
|
| 127 |
+
"lr": 0.001,
|
| 128 |
+
"num_filters": 64,
|
| 129 |
+
"num_values": 4,
|
| 130 |
+
"num_workers": 0,
|
| 131 |
+
"seed": 1284945146
|
| 132 |
+
},
|
| 133 |
+
"z_dim": 32
|
| 134 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_017_rerun_07_06shapes_zdim_032/sweep_run_config.yaml
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_index: 17
|
| 2 |
+
rerun_index: 7
|
| 3 |
+
run_name: run_017_rerun_07_06shapes_zdim_032
|
| 4 |
+
run_seed: 1284945146
|
| 5 |
+
z_dim: 32
|
| 6 |
+
n_shapes: 6
|
| 7 |
+
held_out_shape: star_6_r04
|
| 8 |
+
run_shapes:
|
| 9 |
+
- star_6_r04
|
| 10 |
+
- heart
|
| 11 |
+
- drop_15
|
| 12 |
+
- closed_hollow_polygon_3
|
| 13 |
+
- closed_hollow_polygon_5
|
| 14 |
+
- hollow_polygon_5
|
| 15 |
+
cache:
|
| 16 |
+
path: data/lils/dsprites_large_6_20_16_16.pt
|
| 17 |
+
available_shapes:
|
| 18 |
+
- polygon_3
|
| 19 |
+
- polygon_4
|
| 20 |
+
- polygon_5
|
| 21 |
+
- star_3_r02
|
| 22 |
+
- star_4_r04
|
| 23 |
+
- star_5_r04
|
| 24 |
+
- star_6_r04
|
| 25 |
+
- ellipse_050
|
| 26 |
+
- heart
|
| 27 |
+
- flower_2_w03
|
| 28 |
+
- flower_3_w03
|
| 29 |
+
- flower_4_w03
|
| 30 |
+
- flower_5_w03
|
| 31 |
+
- flower_6_w03
|
| 32 |
+
- rectangle_03
|
| 33 |
+
- cross_065
|
| 34 |
+
- crescent_025
|
| 35 |
+
- drop_15
|
| 36 |
+
- closed_hollow_polygon_3
|
| 37 |
+
- closed_hollow_polygon_4
|
| 38 |
+
- closed_hollow_polygon_5
|
| 39 |
+
- hollow_polygon_3
|
| 40 |
+
- hollow_polygon_4
|
| 41 |
+
- hollow_polygon_5
|
| 42 |
+
- closed_hollow_ellipse_05
|
| 43 |
+
generation_config:
|
| 44 |
+
seed: 42
|
| 45 |
+
image_size: 64
|
| 46 |
+
num_values: 4
|
| 47 |
+
output_channels: 1
|
| 48 |
+
output: data/lils/dsprites_large_6_20_16_16.pt
|
| 49 |
+
scale_space: renderer
|
| 50 |
+
position_space: renderer
|
| 51 |
+
shape_pool: all
|
| 52 |
+
candidate_fg_colors:
|
| 53 |
+
- - 255
|
| 54 |
+
- 255
|
| 55 |
+
- 255
|
| 56 |
+
candidate_bg_colors:
|
| 57 |
+
- - 0
|
| 58 |
+
- 0
|
| 59 |
+
- 0
|
| 60 |
+
scales:
|
| 61 |
+
- 0.2
|
| 62 |
+
- 0.24
|
| 63 |
+
- 0.28
|
| 64 |
+
- 0.32
|
| 65 |
+
- 0.36
|
| 66 |
+
- 0.4
|
| 67 |
+
orientations:
|
| 68 |
+
min: 0.0
|
| 69 |
+
max: 6.28318531
|
| 70 |
+
num: 20
|
| 71 |
+
positions_x:
|
| 72 |
+
min: 0.2
|
| 73 |
+
max: 0.8
|
| 74 |
+
num: 16
|
| 75 |
+
positions_y:
|
| 76 |
+
min: 0.2
|
| 77 |
+
max: 0.8
|
| 78 |
+
num: 16
|
| 79 |
+
train:
|
| 80 |
+
num_shapes: 25
|
| 81 |
+
num_fg_colors: 1
|
| 82 |
+
num_bg_colors: 1
|
| 83 |
+
ood:
|
| 84 |
+
num_shapes: 0
|
| 85 |
+
shapes_from: unseen
|
| 86 |
+
num_fg_colors: 0
|
| 87 |
+
fg_colors_from: unseen
|
| 88 |
+
num_bg_colors: 0
|
| 89 |
+
bg_colors_from: unseen
|
| 90 |
+
dataloader:
|
| 91 |
+
sprite_shapes:
|
| 92 |
+
- star_6_r04
|
| 93 |
+
- heart
|
| 94 |
+
- drop_15
|
| 95 |
+
- closed_hollow_polygon_3
|
| 96 |
+
- closed_hollow_polygon_5
|
| 97 |
+
- hollow_polygon_5
|
| 98 |
+
sprite_restricted_shapes:
|
| 99 |
+
- star_6_r04
|
| 100 |
+
sprite_right_side_threshold: 0.5
|
| 101 |
+
val_fraction: 0.1
|
| 102 |
+
training:
|
| 103 |
+
epochs: 100
|
| 104 |
+
batch_size: 128
|
| 105 |
+
num_workers: 0
|
| 106 |
+
num_values: 4
|
| 107 |
+
num_filters: 64
|
| 108 |
+
lr: 0.001
|
| 109 |
+
seed: 1284945146
|
| 110 |
+
base_seed: 42
|
| 111 |
+
bbox_loss_inside_weight: 9.0
|
| 112 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_name": "best_in_domain",
|
| 3 |
+
"checkpoint_path": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 4 |
+
"device": "cuda",
|
| 5 |
+
"format_version": 1,
|
| 6 |
+
"loader_config": {
|
| 7 |
+
"in_domain_rule": "Validate in-domain on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'flower_2_w03', 'flower_3_w03', 'flower_6_w03', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 8 |
+
"ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['star_6_r04'] within shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'flower_2_w03', 'flower_3_w03', 'flower_6_w03', 'star_6_r04'].",
|
| 9 |
+
"restricted_shape_counts": {
|
| 10 |
+
"star_6_r04": {
|
| 11 |
+
"in_domain": 15360,
|
| 12 |
+
"ood": 15360
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"seed": 2560499000,
|
| 16 |
+
"sprite_restricted_shapes": [
|
| 17 |
+
"star_6_r04"
|
| 18 |
+
],
|
| 19 |
+
"sprite_right_side_threshold": 0.5,
|
| 20 |
+
"sprite_shapes": [
|
| 21 |
+
"star_6_r04",
|
| 22 |
+
"flower_2_w03",
|
| 23 |
+
"flower_3_w03",
|
| 24 |
+
"flower_6_w03",
|
| 25 |
+
"closed_hollow_polygon_3",
|
| 26 |
+
"closed_hollow_ellipse_05"
|
| 27 |
+
],
|
| 28 |
+
"sprites_large_cache": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 29 |
+
"train_rule": "Train on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'flower_2_w03', 'flower_3_w03', 'flower_6_w03', 'star_6_r04'] except ['star_6_r04'] are restricted to position_x <= 0.5.",
|
| 30 |
+
"val_fraction": 0.1
|
| 31 |
+
},
|
| 32 |
+
"metrics": {
|
| 33 |
+
"in_domain": {
|
| 34 |
+
"n_examples": 16896,
|
| 35 |
+
"raw": {
|
| 36 |
+
"bpd": 0.039712348275563934,
|
| 37 |
+
"elbo": 112.74855457652698,
|
| 38 |
+
"reconstruction_loss": 9.122692881208478,
|
| 39 |
+
"regularization_loss": 103.62586200598514
|
| 40 |
+
},
|
| 41 |
+
"weighted": {
|
| 42 |
+
"bpd": 0.05215770011824189,
|
| 43 |
+
"elbo": 148.08253733317056,
|
| 44 |
+
"reconstruction_loss": 44.45667529828621,
|
| 45 |
+
"regularization_loss": 103.62586200598514
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"ood": {
|
| 49 |
+
"n_examples": 15360,
|
| 50 |
+
"raw": {
|
| 51 |
+
"bpd": 0.04668668707211812,
|
| 52 |
+
"elbo": 132.5496156692505,
|
| 53 |
+
"reconstruction_loss": 28.088880634307863,
|
| 54 |
+
"regularization_loss": 104.46073493957519
|
| 55 |
+
},
|
| 56 |
+
"weighted": {
|
| 57 |
+
"bpd": 0.08355705949167411,
|
| 58 |
+
"elbo": 237.22942822774252,
|
| 59 |
+
"reconstruction_loss": 132.7686943689982,
|
| 60 |
+
"regularization_loss": 104.46073493957519
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"train": {
|
| 64 |
+
"n_examples": 152064,
|
| 65 |
+
"raw": {
|
| 66 |
+
"bpd": 0.03914420734087526,
|
| 67 |
+
"elbo": 111.13552812133173,
|
| 68 |
+
"reconstruction_loss": 7.487125245007602,
|
| 69 |
+
"regularization_loss": 103.64840282093395
|
| 70 |
+
},
|
| 71 |
+
"weighted": {
|
| 72 |
+
"bpd": 0.049330117701480686,
|
| 73 |
+
"elbo": 140.05466097693653,
|
| 74 |
+
"reconstruction_loss": 36.40625832137034,
|
| 75 |
+
"regularization_loss": 103.64840282093395
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"seed": 2560499000
|
| 80 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoints": {
|
| 3 |
+
"best_in_domain": {
|
| 4 |
+
"monitor": "val_in_domain_bpd",
|
| 5 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 6 |
+
"score": 0.052147842943668365
|
| 7 |
+
},
|
| 8 |
+
"best_ood": {
|
| 9 |
+
"monitor": "val_ood_bpd",
|
| 10 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_ood.ckpt",
|
| 11 |
+
"score": 0.08243267983198166
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"default_checkpoint": "best_in_domain"
|
| 15 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95520f8e51465ce211b2e73d6419c8c4ad99aa6970ebc9e0c63a399bb9e5cae1
|
| 3 |
+
size 17277026
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"has_factor_structure": false,
|
| 91 |
+
"image_size": 64,
|
| 92 |
+
"num_images": 768000,
|
| 93 |
+
"num_values": 4,
|
| 94 |
+
"output_channels": 1,
|
| 95 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 96 |
+
"split_config": {
|
| 97 |
+
"bg_colors_from": "unseen",
|
| 98 |
+
"fg_colors_from": "unseen",
|
| 99 |
+
"ood_bg_colors": [],
|
| 100 |
+
"ood_fg_colors": [],
|
| 101 |
+
"ood_index_range": {
|
| 102 |
+
"start": 768000,
|
| 103 |
+
"stop": 768000
|
| 104 |
+
},
|
| 105 |
+
"ood_shapes": [],
|
| 106 |
+
"ood_size": 0,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"shapes_from": "unseen",
|
| 109 |
+
"train_bg_colors": [
|
| 110 |
+
[
|
| 111 |
+
0,
|
| 112 |
+
0,
|
| 113 |
+
0
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"train_fg_colors": [
|
| 117 |
+
[
|
| 118 |
+
3,
|
| 119 |
+
3,
|
| 120 |
+
3
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"train_index_range": {
|
| 124 |
+
"start": 0,
|
| 125 |
+
"stop": 768000
|
| 126 |
+
},
|
| 127 |
+
"train_shapes": [
|
| 128 |
+
"polygon_3",
|
| 129 |
+
"polygon_4",
|
| 130 |
+
"polygon_5",
|
| 131 |
+
"star_3_r02",
|
| 132 |
+
"star_4_r04",
|
| 133 |
+
"star_5_r04",
|
| 134 |
+
"star_6_r04",
|
| 135 |
+
"ellipse_050",
|
| 136 |
+
"heart",
|
| 137 |
+
"flower_2_w03",
|
| 138 |
+
"flower_3_w03",
|
| 139 |
+
"flower_4_w03",
|
| 140 |
+
"flower_5_w03",
|
| 141 |
+
"flower_6_w03",
|
| 142 |
+
"rectangle_03",
|
| 143 |
+
"cross_065",
|
| 144 |
+
"crescent_025",
|
| 145 |
+
"drop_15",
|
| 146 |
+
"closed_hollow_polygon_3",
|
| 147 |
+
"closed_hollow_polygon_4",
|
| 148 |
+
"closed_hollow_polygon_5",
|
| 149 |
+
"hollow_polygon_3",
|
| 150 |
+
"hollow_polygon_4",
|
| 151 |
+
"hollow_polygon_5",
|
| 152 |
+
"closed_hollow_ellipse_05"
|
| 153 |
+
],
|
| 154 |
+
"train_size": 768000
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
"dataset_name": "sprites_large",
|
| 158 |
+
"loader_filter": {
|
| 159 |
+
"seed": 2560499000,
|
| 160 |
+
"sprite_restricted_shapes": [
|
| 161 |
+
"star_6_r04"
|
| 162 |
+
],
|
| 163 |
+
"sprite_right_side_threshold": 0.5,
|
| 164 |
+
"sprite_shapes": [
|
| 165 |
+
"star_6_r04",
|
| 166 |
+
"flower_2_w03",
|
| 167 |
+
"flower_3_w03",
|
| 168 |
+
"flower_6_w03",
|
| 169 |
+
"closed_hollow_polygon_3",
|
| 170 |
+
"closed_hollow_ellipse_05"
|
| 171 |
+
],
|
| 172 |
+
"val_fraction": 0.1
|
| 173 |
+
},
|
| 174 |
+
"restricted_shape_counts": {
|
| 175 |
+
"star_6_r04": {
|
| 176 |
+
"in_domain": 15360,
|
| 177 |
+
"ood": 15360
|
| 178 |
+
}
|
| 179 |
+
},
|
| 180 |
+
"splits": {
|
| 181 |
+
"train_rule": "Train on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'flower_2_w03', 'flower_3_w03', 'flower_6_w03', 'star_6_r04'] except ['star_6_r04'] are restricted to position_x <= 0.5.",
|
| 182 |
+
"train_size": 152064,
|
| 183 |
+
"val_in_domain_rule": "Validate in-domain on shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'flower_2_w03', 'flower_3_w03', 'flower_6_w03', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 184 |
+
"val_in_domain_size": 16896,
|
| 185 |
+
"val_ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['star_6_r04'] within shapes ['closed_hollow_ellipse_05', 'closed_hollow_polygon_3', 'flower_2_w03', 'flower_3_w03', 'flower_6_w03', 'star_6_r04'].",
|
| 186 |
+
"val_ood_size": 15360
|
| 187 |
+
}
|
| 188 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775263733.node04.3967927.18
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ca1ddeedb37e694c600b9d18ebe4e64ec54904c459918834a6715ab9891ed69
|
| 3 |
+
size 384035
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
num_filters: 64
|
| 2 |
+
z_dim: 32
|
| 3 |
+
lr: 0.001
|
| 4 |
+
num_channels: 1
|
| 5 |
+
num_values: 4
|
| 6 |
+
image_size: 64
|
| 7 |
+
bbox_loss_inside_weight: 9.0
|
| 8 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/sweep_run_config.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt"
|
| 91 |
+
},
|
| 92 |
+
"dataloader": {
|
| 93 |
+
"sprite_restricted_shapes": [
|
| 94 |
+
"star_6_r04"
|
| 95 |
+
],
|
| 96 |
+
"sprite_right_side_threshold": 0.5,
|
| 97 |
+
"sprite_shapes": [
|
| 98 |
+
"star_6_r04",
|
| 99 |
+
"flower_2_w03",
|
| 100 |
+
"flower_3_w03",
|
| 101 |
+
"flower_6_w03",
|
| 102 |
+
"closed_hollow_polygon_3",
|
| 103 |
+
"closed_hollow_ellipse_05"
|
| 104 |
+
],
|
| 105 |
+
"val_fraction": 0.1
|
| 106 |
+
},
|
| 107 |
+
"held_out_shape": "star_6_r04",
|
| 108 |
+
"n_shapes": 6,
|
| 109 |
+
"rerun_index": 8,
|
| 110 |
+
"run_index": 18,
|
| 111 |
+
"run_name": "run_018_rerun_08_06shapes_zdim_032",
|
| 112 |
+
"run_seed": 2560499000,
|
| 113 |
+
"run_shapes": [
|
| 114 |
+
"star_6_r04",
|
| 115 |
+
"flower_2_w03",
|
| 116 |
+
"flower_3_w03",
|
| 117 |
+
"flower_6_w03",
|
| 118 |
+
"closed_hollow_polygon_3",
|
| 119 |
+
"closed_hollow_ellipse_05"
|
| 120 |
+
],
|
| 121 |
+
"training": {
|
| 122 |
+
"base_seed": 42,
|
| 123 |
+
"batch_size": 128,
|
| 124 |
+
"bbox_loss_inside_weight": 9.0,
|
| 125 |
+
"bbox_loss_outside_weight": 1.0,
|
| 126 |
+
"epochs": 100,
|
| 127 |
+
"lr": 0.001,
|
| 128 |
+
"num_filters": 64,
|
| 129 |
+
"num_values": 4,
|
| 130 |
+
"num_workers": 0,
|
| 131 |
+
"seed": 2560499000
|
| 132 |
+
},
|
| 133 |
+
"z_dim": 32
|
| 134 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_018_rerun_08_06shapes_zdim_032/sweep_run_config.yaml
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_index: 18
|
| 2 |
+
rerun_index: 8
|
| 3 |
+
run_name: run_018_rerun_08_06shapes_zdim_032
|
| 4 |
+
run_seed: 2560499000
|
| 5 |
+
z_dim: 32
|
| 6 |
+
n_shapes: 6
|
| 7 |
+
held_out_shape: star_6_r04
|
| 8 |
+
run_shapes:
|
| 9 |
+
- star_6_r04
|
| 10 |
+
- flower_2_w03
|
| 11 |
+
- flower_3_w03
|
| 12 |
+
- flower_6_w03
|
| 13 |
+
- closed_hollow_polygon_3
|
| 14 |
+
- closed_hollow_ellipse_05
|
| 15 |
+
cache:
|
| 16 |
+
path: data/lils/dsprites_large_6_20_16_16.pt
|
| 17 |
+
available_shapes:
|
| 18 |
+
- polygon_3
|
| 19 |
+
- polygon_4
|
| 20 |
+
- polygon_5
|
| 21 |
+
- star_3_r02
|
| 22 |
+
- star_4_r04
|
| 23 |
+
- star_5_r04
|
| 24 |
+
- star_6_r04
|
| 25 |
+
- ellipse_050
|
| 26 |
+
- heart
|
| 27 |
+
- flower_2_w03
|
| 28 |
+
- flower_3_w03
|
| 29 |
+
- flower_4_w03
|
| 30 |
+
- flower_5_w03
|
| 31 |
+
- flower_6_w03
|
| 32 |
+
- rectangle_03
|
| 33 |
+
- cross_065
|
| 34 |
+
- crescent_025
|
| 35 |
+
- drop_15
|
| 36 |
+
- closed_hollow_polygon_3
|
| 37 |
+
- closed_hollow_polygon_4
|
| 38 |
+
- closed_hollow_polygon_5
|
| 39 |
+
- hollow_polygon_3
|
| 40 |
+
- hollow_polygon_4
|
| 41 |
+
- hollow_polygon_5
|
| 42 |
+
- closed_hollow_ellipse_05
|
| 43 |
+
generation_config:
|
| 44 |
+
seed: 42
|
| 45 |
+
image_size: 64
|
| 46 |
+
num_values: 4
|
| 47 |
+
output_channels: 1
|
| 48 |
+
output: data/lils/dsprites_large_6_20_16_16.pt
|
| 49 |
+
scale_space: renderer
|
| 50 |
+
position_space: renderer
|
| 51 |
+
shape_pool: all
|
| 52 |
+
candidate_fg_colors:
|
| 53 |
+
- - 255
|
| 54 |
+
- 255
|
| 55 |
+
- 255
|
| 56 |
+
candidate_bg_colors:
|
| 57 |
+
- - 0
|
| 58 |
+
- 0
|
| 59 |
+
- 0
|
| 60 |
+
scales:
|
| 61 |
+
- 0.2
|
| 62 |
+
- 0.24
|
| 63 |
+
- 0.28
|
| 64 |
+
- 0.32
|
| 65 |
+
- 0.36
|
| 66 |
+
- 0.4
|
| 67 |
+
orientations:
|
| 68 |
+
min: 0.0
|
| 69 |
+
max: 6.28318531
|
| 70 |
+
num: 20
|
| 71 |
+
positions_x:
|
| 72 |
+
min: 0.2
|
| 73 |
+
max: 0.8
|
| 74 |
+
num: 16
|
| 75 |
+
positions_y:
|
| 76 |
+
min: 0.2
|
| 77 |
+
max: 0.8
|
| 78 |
+
num: 16
|
| 79 |
+
train:
|
| 80 |
+
num_shapes: 25
|
| 81 |
+
num_fg_colors: 1
|
| 82 |
+
num_bg_colors: 1
|
| 83 |
+
ood:
|
| 84 |
+
num_shapes: 0
|
| 85 |
+
shapes_from: unseen
|
| 86 |
+
num_fg_colors: 0
|
| 87 |
+
fg_colors_from: unseen
|
| 88 |
+
num_bg_colors: 0
|
| 89 |
+
bg_colors_from: unseen
|
| 90 |
+
dataloader:
|
| 91 |
+
sprite_shapes:
|
| 92 |
+
- star_6_r04
|
| 93 |
+
- flower_2_w03
|
| 94 |
+
- flower_3_w03
|
| 95 |
+
- flower_6_w03
|
| 96 |
+
- closed_hollow_polygon_3
|
| 97 |
+
- closed_hollow_ellipse_05
|
| 98 |
+
sprite_restricted_shapes:
|
| 99 |
+
- star_6_r04
|
| 100 |
+
sprite_right_side_threshold: 0.5
|
| 101 |
+
val_fraction: 0.1
|
| 102 |
+
training:
|
| 103 |
+
epochs: 100
|
| 104 |
+
batch_size: 128
|
| 105 |
+
num_workers: 0
|
| 106 |
+
num_values: 4
|
| 107 |
+
num_filters: 64
|
| 108 |
+
lr: 0.001
|
| 109 |
+
seed: 2560499000
|
| 110 |
+
base_seed: 42
|
| 111 |
+
bbox_loss_inside_weight: 9.0
|
| 112 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_name": "best_in_domain",
|
| 3 |
+
"checkpoint_path": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 4 |
+
"device": "cuda",
|
| 5 |
+
"format_version": 1,
|
| 6 |
+
"loader_config": {
|
| 7 |
+
"in_domain_rule": "Validate in-domain on shapes ['crescent_025', 'ellipse_050', 'hollow_polygon_4', 'hollow_polygon_5', 'star_3_r02', 'star_4_r04'] with the same shape-position combinations as training.",
|
| 8 |
+
"ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['ellipse_050'] within shapes ['crescent_025', 'ellipse_050', 'hollow_polygon_4', 'hollow_polygon_5', 'star_3_r02', 'star_4_r04'].",
|
| 9 |
+
"restricted_shape_counts": {
|
| 10 |
+
"ellipse_050": {
|
| 11 |
+
"in_domain": 15360,
|
| 12 |
+
"ood": 15360
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"seed": 3947697234,
|
| 16 |
+
"sprite_restricted_shapes": [
|
| 17 |
+
"ellipse_050"
|
| 18 |
+
],
|
| 19 |
+
"sprite_right_side_threshold": 0.5,
|
| 20 |
+
"sprite_shapes": [
|
| 21 |
+
"ellipse_050",
|
| 22 |
+
"star_3_r02",
|
| 23 |
+
"star_4_r04",
|
| 24 |
+
"crescent_025",
|
| 25 |
+
"hollow_polygon_4",
|
| 26 |
+
"hollow_polygon_5"
|
| 27 |
+
],
|
| 28 |
+
"sprites_large_cache": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 29 |
+
"train_rule": "Train on shapes ['crescent_025', 'ellipse_050', 'hollow_polygon_4', 'hollow_polygon_5', 'star_3_r02', 'star_4_r04'] except ['ellipse_050'] are restricted to position_x <= 0.5.",
|
| 30 |
+
"val_fraction": 0.1
|
| 31 |
+
},
|
| 32 |
+
"metrics": {
|
| 33 |
+
"in_domain": {
|
| 34 |
+
"n_examples": 16896,
|
| 35 |
+
"raw": {
|
| 36 |
+
"bpd": 0.036833317978589825,
|
| 37 |
+
"elbo": 104.57461068124482,
|
| 38 |
+
"reconstruction_loss": 6.132273627049996,
|
| 39 |
+
"regularization_loss": 98.44233663154371
|
| 40 |
+
},
|
| 41 |
+
"weighted": {
|
| 42 |
+
"bpd": 0.04503709368520614,
|
| 43 |
+
"elbo": 127.86620411728367,
|
| 44 |
+
"reconstruction_loss": 29.42386702335242,
|
| 45 |
+
"regularization_loss": 98.44233663154371
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"ood": {
|
| 49 |
+
"n_examples": 15360,
|
| 50 |
+
"raw": {
|
| 51 |
+
"bpd": 0.042626432081063585,
|
| 52 |
+
"elbo": 121.02202072143555,
|
| 53 |
+
"reconstruction_loss": 18.655350971221925,
|
| 54 |
+
"regularization_loss": 102.36666959126791
|
| 55 |
+
},
|
| 56 |
+
"weighted": {
|
| 57 |
+
"bpd": 0.06702156973381837,
|
| 58 |
+
"elbo": 190.28300908406575,
|
| 59 |
+
"reconstruction_loss": 87.9163398106893,
|
| 60 |
+
"regularization_loss": 102.36666959126791
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"train": {
|
| 64 |
+
"n_examples": 152064,
|
| 65 |
+
"raw": {
|
| 66 |
+
"bpd": 0.036331737624098755,
|
| 67 |
+
"elbo": 103.15055845883559,
|
| 68 |
+
"reconstruction_loss": 4.711749106745929,
|
| 69 |
+
"regularization_loss": 98.43880941731359
|
| 70 |
+
},
|
| 71 |
+
"weighted": {
|
| 72 |
+
"bpd": 0.042607730699809714,
|
| 73 |
+
"elbo": 120.96892439716994,
|
| 74 |
+
"reconstruction_loss": 22.530114899580727,
|
| 75 |
+
"regularization_loss": 98.43880941731359
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"seed": 3947697234
|
| 80 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoints": {
|
| 3 |
+
"best_in_domain": {
|
| 4 |
+
"monitor": "val_in_domain_bpd",
|
| 5 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 6 |
+
"score": 0.04493822529911995
|
| 7 |
+
},
|
| 8 |
+
"best_ood": {
|
| 9 |
+
"monitor": "val_ood_bpd",
|
| 10 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_ood.ckpt",
|
| 11 |
+
"score": 0.06532100588083267
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"default_checkpoint": "best_in_domain"
|
| 15 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a67fa31b80cc0b192e4a071ae3cd1b95914bb0ad5da41c3c131db584dac1d8e3
|
| 3 |
+
size 17277026
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/dataset_loader_config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"has_factor_structure": false,
|
| 91 |
+
"image_size": 64,
|
| 92 |
+
"num_images": 768000,
|
| 93 |
+
"num_values": 4,
|
| 94 |
+
"output_channels": 1,
|
| 95 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 96 |
+
"split_config": {
|
| 97 |
+
"bg_colors_from": "unseen",
|
| 98 |
+
"fg_colors_from": "unseen",
|
| 99 |
+
"ood_bg_colors": [],
|
| 100 |
+
"ood_fg_colors": [],
|
| 101 |
+
"ood_index_range": {
|
| 102 |
+
"start": 768000,
|
| 103 |
+
"stop": 768000
|
| 104 |
+
},
|
| 105 |
+
"ood_shapes": [],
|
| 106 |
+
"ood_size": 0,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"shapes_from": "unseen",
|
| 109 |
+
"train_bg_colors": [
|
| 110 |
+
[
|
| 111 |
+
0,
|
| 112 |
+
0,
|
| 113 |
+
0
|
| 114 |
+
]
|
| 115 |
+
],
|
| 116 |
+
"train_fg_colors": [
|
| 117 |
+
[
|
| 118 |
+
3,
|
| 119 |
+
3,
|
| 120 |
+
3
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
"train_index_range": {
|
| 124 |
+
"start": 0,
|
| 125 |
+
"stop": 768000
|
| 126 |
+
},
|
| 127 |
+
"train_shapes": [
|
| 128 |
+
"polygon_3",
|
| 129 |
+
"polygon_4",
|
| 130 |
+
"polygon_5",
|
| 131 |
+
"star_3_r02",
|
| 132 |
+
"star_4_r04",
|
| 133 |
+
"star_5_r04",
|
| 134 |
+
"star_6_r04",
|
| 135 |
+
"ellipse_050",
|
| 136 |
+
"heart",
|
| 137 |
+
"flower_2_w03",
|
| 138 |
+
"flower_3_w03",
|
| 139 |
+
"flower_4_w03",
|
| 140 |
+
"flower_5_w03",
|
| 141 |
+
"flower_6_w03",
|
| 142 |
+
"rectangle_03",
|
| 143 |
+
"cross_065",
|
| 144 |
+
"crescent_025",
|
| 145 |
+
"drop_15",
|
| 146 |
+
"closed_hollow_polygon_3",
|
| 147 |
+
"closed_hollow_polygon_4",
|
| 148 |
+
"closed_hollow_polygon_5",
|
| 149 |
+
"hollow_polygon_3",
|
| 150 |
+
"hollow_polygon_4",
|
| 151 |
+
"hollow_polygon_5",
|
| 152 |
+
"closed_hollow_ellipse_05"
|
| 153 |
+
],
|
| 154 |
+
"train_size": 768000
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
"dataset_name": "sprites_large",
|
| 158 |
+
"loader_filter": {
|
| 159 |
+
"seed": 3947697234,
|
| 160 |
+
"sprite_restricted_shapes": [
|
| 161 |
+
"ellipse_050"
|
| 162 |
+
],
|
| 163 |
+
"sprite_right_side_threshold": 0.5,
|
| 164 |
+
"sprite_shapes": [
|
| 165 |
+
"ellipse_050",
|
| 166 |
+
"star_3_r02",
|
| 167 |
+
"star_4_r04",
|
| 168 |
+
"crescent_025",
|
| 169 |
+
"hollow_polygon_4",
|
| 170 |
+
"hollow_polygon_5"
|
| 171 |
+
],
|
| 172 |
+
"val_fraction": 0.1
|
| 173 |
+
},
|
| 174 |
+
"restricted_shape_counts": {
|
| 175 |
+
"ellipse_050": {
|
| 176 |
+
"in_domain": 15360,
|
| 177 |
+
"ood": 15360
|
| 178 |
+
}
|
| 179 |
+
},
|
| 180 |
+
"splits": {
|
| 181 |
+
"train_rule": "Train on shapes ['crescent_025', 'ellipse_050', 'hollow_polygon_4', 'hollow_polygon_5', 'star_3_r02', 'star_4_r04'] except ['ellipse_050'] are restricted to position_x <= 0.5.",
|
| 182 |
+
"train_size": 152064,
|
| 183 |
+
"val_in_domain_rule": "Validate in-domain on shapes ['crescent_025', 'ellipse_050', 'hollow_polygon_4', 'hollow_polygon_5', 'star_3_r02', 'star_4_r04'] with the same shape-position combinations as training.",
|
| 184 |
+
"val_in_domain_size": 16896,
|
| 185 |
+
"val_ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['ellipse_050'] within shapes ['crescent_025', 'ellipse_050', 'hollow_polygon_4', 'hollow_polygon_5', 'star_3_r02', 'star_4_r04'].",
|
| 186 |
+
"val_ood_size": 15360
|
| 187 |
+
}
|
| 188 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/events.out.tfevents.1775267648.node04.3967927.19
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dd9abd0aca9632ec577f4a5c3647d3e2f2b86e5b89d099a0e8b9fca44c24260
|
| 3 |
+
size 349479
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/lightning_logs/version_12212/hparams.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
num_filters: 64
|
| 2 |
+
z_dim: 32
|
| 3 |
+
lr: 0.001
|
| 4 |
+
num_channels: 1
|
| 5 |
+
num_values: 4
|
| 6 |
+
image_size: 64
|
| 7 |
+
bbox_loss_inside_weight: 9.0
|
| 8 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/sweep_run_config.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache": {
|
| 3 |
+
"available_shapes": [
|
| 4 |
+
"polygon_3",
|
| 5 |
+
"polygon_4",
|
| 6 |
+
"polygon_5",
|
| 7 |
+
"star_3_r02",
|
| 8 |
+
"star_4_r04",
|
| 9 |
+
"star_5_r04",
|
| 10 |
+
"star_6_r04",
|
| 11 |
+
"ellipse_050",
|
| 12 |
+
"heart",
|
| 13 |
+
"flower_2_w03",
|
| 14 |
+
"flower_3_w03",
|
| 15 |
+
"flower_4_w03",
|
| 16 |
+
"flower_5_w03",
|
| 17 |
+
"flower_6_w03",
|
| 18 |
+
"rectangle_03",
|
| 19 |
+
"cross_065",
|
| 20 |
+
"crescent_025",
|
| 21 |
+
"drop_15",
|
| 22 |
+
"closed_hollow_polygon_3",
|
| 23 |
+
"closed_hollow_polygon_4",
|
| 24 |
+
"closed_hollow_polygon_5",
|
| 25 |
+
"hollow_polygon_3",
|
| 26 |
+
"hollow_polygon_4",
|
| 27 |
+
"hollow_polygon_5",
|
| 28 |
+
"closed_hollow_ellipse_05"
|
| 29 |
+
],
|
| 30 |
+
"generation_config": {
|
| 31 |
+
"candidate_bg_colors": [
|
| 32 |
+
[
|
| 33 |
+
0,
|
| 34 |
+
0,
|
| 35 |
+
0
|
| 36 |
+
]
|
| 37 |
+
],
|
| 38 |
+
"candidate_fg_colors": [
|
| 39 |
+
[
|
| 40 |
+
255,
|
| 41 |
+
255,
|
| 42 |
+
255
|
| 43 |
+
]
|
| 44 |
+
],
|
| 45 |
+
"image_size": 64,
|
| 46 |
+
"num_values": 4,
|
| 47 |
+
"ood": {
|
| 48 |
+
"bg_colors_from": "unseen",
|
| 49 |
+
"fg_colors_from": "unseen",
|
| 50 |
+
"num_bg_colors": 0,
|
| 51 |
+
"num_fg_colors": 0,
|
| 52 |
+
"num_shapes": 0,
|
| 53 |
+
"shapes_from": "unseen"
|
| 54 |
+
},
|
| 55 |
+
"orientations": {
|
| 56 |
+
"max": 6.28318531,
|
| 57 |
+
"min": 0.0,
|
| 58 |
+
"num": 20
|
| 59 |
+
},
|
| 60 |
+
"output": "data/lils/dsprites_large_6_20_16_16.pt",
|
| 61 |
+
"output_channels": 1,
|
| 62 |
+
"position_space": "renderer",
|
| 63 |
+
"positions_x": {
|
| 64 |
+
"max": 0.8,
|
| 65 |
+
"min": 0.2,
|
| 66 |
+
"num": 16
|
| 67 |
+
},
|
| 68 |
+
"positions_y": {
|
| 69 |
+
"max": 0.8,
|
| 70 |
+
"min": 0.2,
|
| 71 |
+
"num": 16
|
| 72 |
+
},
|
| 73 |
+
"scale_space": "renderer",
|
| 74 |
+
"scales": [
|
| 75 |
+
0.2,
|
| 76 |
+
0.24,
|
| 77 |
+
0.28,
|
| 78 |
+
0.32,
|
| 79 |
+
0.36,
|
| 80 |
+
0.4
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"shape_pool": "all",
|
| 84 |
+
"train": {
|
| 85 |
+
"num_bg_colors": 1,
|
| 86 |
+
"num_fg_colors": 1,
|
| 87 |
+
"num_shapes": 25
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"path": "data/lils/dsprites_large_6_20_16_16.pt"
|
| 91 |
+
},
|
| 92 |
+
"dataloader": {
|
| 93 |
+
"sprite_restricted_shapes": [
|
| 94 |
+
"ellipse_050"
|
| 95 |
+
],
|
| 96 |
+
"sprite_right_side_threshold": 0.5,
|
| 97 |
+
"sprite_shapes": [
|
| 98 |
+
"ellipse_050",
|
| 99 |
+
"star_3_r02",
|
| 100 |
+
"star_4_r04",
|
| 101 |
+
"crescent_025",
|
| 102 |
+
"hollow_polygon_4",
|
| 103 |
+
"hollow_polygon_5"
|
| 104 |
+
],
|
| 105 |
+
"val_fraction": 0.1
|
| 106 |
+
},
|
| 107 |
+
"held_out_shape": "ellipse_050",
|
| 108 |
+
"n_shapes": 6,
|
| 109 |
+
"rerun_index": 9,
|
| 110 |
+
"run_index": 19,
|
| 111 |
+
"run_name": "run_019_rerun_09_06shapes_zdim_032",
|
| 112 |
+
"run_seed": 3947697234,
|
| 113 |
+
"run_shapes": [
|
| 114 |
+
"ellipse_050",
|
| 115 |
+
"star_3_r02",
|
| 116 |
+
"star_4_r04",
|
| 117 |
+
"crescent_025",
|
| 118 |
+
"hollow_polygon_4",
|
| 119 |
+
"hollow_polygon_5"
|
| 120 |
+
],
|
| 121 |
+
"training": {
|
| 122 |
+
"base_seed": 42,
|
| 123 |
+
"batch_size": 128,
|
| 124 |
+
"bbox_loss_inside_weight": 9.0,
|
| 125 |
+
"bbox_loss_outside_weight": 1.0,
|
| 126 |
+
"epochs": 100,
|
| 127 |
+
"lr": 0.001,
|
| 128 |
+
"num_filters": 64,
|
| 129 |
+
"num_values": 4,
|
| 130 |
+
"num_workers": 0,
|
| 131 |
+
"seed": 3947697234
|
| 132 |
+
},
|
| 133 |
+
"z_dim": 32
|
| 134 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_019_rerun_09_06shapes_zdim_032/sweep_run_config.yaml
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_index: 19
|
| 2 |
+
rerun_index: 9
|
| 3 |
+
run_name: run_019_rerun_09_06shapes_zdim_032
|
| 4 |
+
run_seed: 3947697234
|
| 5 |
+
z_dim: 32
|
| 6 |
+
n_shapes: 6
|
| 7 |
+
held_out_shape: ellipse_050
|
| 8 |
+
run_shapes:
|
| 9 |
+
- ellipse_050
|
| 10 |
+
- star_3_r02
|
| 11 |
+
- star_4_r04
|
| 12 |
+
- crescent_025
|
| 13 |
+
- hollow_polygon_4
|
| 14 |
+
- hollow_polygon_5
|
| 15 |
+
cache:
|
| 16 |
+
path: data/lils/dsprites_large_6_20_16_16.pt
|
| 17 |
+
available_shapes:
|
| 18 |
+
- polygon_3
|
| 19 |
+
- polygon_4
|
| 20 |
+
- polygon_5
|
| 21 |
+
- star_3_r02
|
| 22 |
+
- star_4_r04
|
| 23 |
+
- star_5_r04
|
| 24 |
+
- star_6_r04
|
| 25 |
+
- ellipse_050
|
| 26 |
+
- heart
|
| 27 |
+
- flower_2_w03
|
| 28 |
+
- flower_3_w03
|
| 29 |
+
- flower_4_w03
|
| 30 |
+
- flower_5_w03
|
| 31 |
+
- flower_6_w03
|
| 32 |
+
- rectangle_03
|
| 33 |
+
- cross_065
|
| 34 |
+
- crescent_025
|
| 35 |
+
- drop_15
|
| 36 |
+
- closed_hollow_polygon_3
|
| 37 |
+
- closed_hollow_polygon_4
|
| 38 |
+
- closed_hollow_polygon_5
|
| 39 |
+
- hollow_polygon_3
|
| 40 |
+
- hollow_polygon_4
|
| 41 |
+
- hollow_polygon_5
|
| 42 |
+
- closed_hollow_ellipse_05
|
| 43 |
+
generation_config:
|
| 44 |
+
seed: 42
|
| 45 |
+
image_size: 64
|
| 46 |
+
num_values: 4
|
| 47 |
+
output_channels: 1
|
| 48 |
+
output: data/lils/dsprites_large_6_20_16_16.pt
|
| 49 |
+
scale_space: renderer
|
| 50 |
+
position_space: renderer
|
| 51 |
+
shape_pool: all
|
| 52 |
+
candidate_fg_colors:
|
| 53 |
+
- - 255
|
| 54 |
+
- 255
|
| 55 |
+
- 255
|
| 56 |
+
candidate_bg_colors:
|
| 57 |
+
- - 0
|
| 58 |
+
- 0
|
| 59 |
+
- 0
|
| 60 |
+
scales:
|
| 61 |
+
- 0.2
|
| 62 |
+
- 0.24
|
| 63 |
+
- 0.28
|
| 64 |
+
- 0.32
|
| 65 |
+
- 0.36
|
| 66 |
+
- 0.4
|
| 67 |
+
orientations:
|
| 68 |
+
min: 0.0
|
| 69 |
+
max: 6.28318531
|
| 70 |
+
num: 20
|
| 71 |
+
positions_x:
|
| 72 |
+
min: 0.2
|
| 73 |
+
max: 0.8
|
| 74 |
+
num: 16
|
| 75 |
+
positions_y:
|
| 76 |
+
min: 0.2
|
| 77 |
+
max: 0.8
|
| 78 |
+
num: 16
|
| 79 |
+
train:
|
| 80 |
+
num_shapes: 25
|
| 81 |
+
num_fg_colors: 1
|
| 82 |
+
num_bg_colors: 1
|
| 83 |
+
ood:
|
| 84 |
+
num_shapes: 0
|
| 85 |
+
shapes_from: unseen
|
| 86 |
+
num_fg_colors: 0
|
| 87 |
+
fg_colors_from: unseen
|
| 88 |
+
num_bg_colors: 0
|
| 89 |
+
bg_colors_from: unseen
|
| 90 |
+
dataloader:
|
| 91 |
+
sprite_shapes:
|
| 92 |
+
- ellipse_050
|
| 93 |
+
- star_3_r02
|
| 94 |
+
- star_4_r04
|
| 95 |
+
- crescent_025
|
| 96 |
+
- hollow_polygon_4
|
| 97 |
+
- hollow_polygon_5
|
| 98 |
+
sprite_restricted_shapes:
|
| 99 |
+
- ellipse_050
|
| 100 |
+
sprite_right_side_threshold: 0.5
|
| 101 |
+
val_fraction: 0.1
|
| 102 |
+
training:
|
| 103 |
+
epochs: 100
|
| 104 |
+
batch_size: 128
|
| 105 |
+
num_workers: 0
|
| 106 |
+
num_values: 4
|
| 107 |
+
num_filters: 64
|
| 108 |
+
lr: 0.001
|
| 109 |
+
seed: 3947697234
|
| 110 |
+
base_seed: 42
|
| 111 |
+
bbox_loss_inside_weight: 9.0
|
| 112 |
+
bbox_loss_outside_weight: 1.0
|
VAE_logs/big_dsprites_sweep/zdim_032/run_020_rerun_00_08shapes_zdim_032/lightning_logs/version_12212/checkpoint_eval/best_in_domain/evaluation_metrics.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_name": "best_in_domain",
|
| 3 |
+
"checkpoint_path": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/VAE_logs/big_dsprites_sweep/zdim_032/run_020_rerun_00_08shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 4 |
+
"device": "cuda",
|
| 5 |
+
"format_version": 1,
|
| 6 |
+
"loader_config": {
|
| 7 |
+
"in_domain_rule": "Validate in-domain on shapes ['closed_hollow_polygon_5', 'cross_065', 'ellipse_050', 'flower_2_w03', 'hollow_polygon_4', 'rectangle_03', 'star_3_r02', 'star_6_r04'] with the same shape-position combinations as training.",
|
| 8 |
+
"ood_rule": "Validate OOD only on held-out restricted-shape combinations for ['star_6_r04'] within shapes ['closed_hollow_polygon_5', 'cross_065', 'ellipse_050', 'flower_2_w03', 'hollow_polygon_4', 'rectangle_03', 'star_3_r02', 'star_6_r04'].",
|
| 9 |
+
"restricted_shape_counts": {
|
| 10 |
+
"star_6_r04": {
|
| 11 |
+
"in_domain": 15360,
|
| 12 |
+
"ood": 15360
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"seed": 2572716058,
|
| 16 |
+
"sprite_restricted_shapes": [
|
| 17 |
+
"star_6_r04"
|
| 18 |
+
],
|
| 19 |
+
"sprite_right_side_threshold": 0.5,
|
| 20 |
+
"sprite_shapes": [
|
| 21 |
+
"star_6_r04",
|
| 22 |
+
"star_3_r02",
|
| 23 |
+
"ellipse_050",
|
| 24 |
+
"flower_2_w03",
|
| 25 |
+
"rectangle_03",
|
| 26 |
+
"cross_065",
|
| 27 |
+
"closed_hollow_polygon_5",
|
| 28 |
+
"hollow_polygon_4"
|
| 29 |
+
],
|
| 30 |
+
"sprites_large_cache": "/cluster/raid/home/mhalak/vae-cg/vae-compositional/data/dsprites_large/dsprites_large_6_20_16_16.pt",
|
| 31 |
+
"train_rule": "Train on shapes ['closed_hollow_polygon_5', 'cross_065', 'ellipse_050', 'flower_2_w03', 'hollow_polygon_4', 'rectangle_03', 'star_3_r02', 'star_6_r04'] except ['star_6_r04'] are restricted to position_x <= 0.5.",
|
| 32 |
+
"val_fraction": 0.1
|
| 33 |
+
},
|
| 34 |
+
"metrics": {
|
| 35 |
+
"in_domain": {
|
| 36 |
+
"n_examples": 23040,
|
| 37 |
+
"raw": {
|
| 38 |
+
"bpd": 0.03598516724175877,
|
| 39 |
+
"elbo": 102.16659982469346,
|
| 40 |
+
"reconstruction_loss": 8.228803798887466,
|
| 41 |
+
"regularization_loss": 93.93779606289334
|
| 42 |
+
},
|
| 43 |
+
"weighted": {
|
| 44 |
+
"bpd": 0.04674196003211869,
|
| 45 |
+
"elbo": 132.7065426720513,
|
| 46 |
+
"reconstruction_loss": 38.76874670452542,
|
| 47 |
+
"regularization_loss": 93.93779606289334
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"ood": {
|
| 51 |
+
"n_examples": 15360,
|
| 52 |
+
"raw": {
|
| 53 |
+
"bpd": 0.0543438920751214,
|
| 54 |
+
"elbo": 154.2894224802653,
|
| 55 |
+
"reconstruction_loss": 58.311075369517006,
|
| 56 |
+
"regularization_loss": 95.97834695180258
|
| 57 |
+
},
|
| 58 |
+
"weighted": {
|
| 59 |
+
"bpd": 0.1260589440042774,
|
| 60 |
+
"elbo": 357.89784202575686,
|
| 61 |
+
"reconstruction_loss": 261.91949462890625,
|
| 62 |
+
"regularization_loss": 95.97834695180258
|
| 63 |
+
}
|
| 64 |
+
},
|
| 65 |
+
"train": {
|
| 66 |
+
"n_examples": 207360,
|
| 67 |
+
"raw": {
|
| 68 |
+
"bpd": 0.03544185797189489,
|
| 69 |
+
"elbo": 100.6240737773754,
|
| 70 |
+
"reconstruction_loss": 6.731813362498342,
|
| 71 |
+
"regularization_loss": 93.89226050671236
|
| 72 |
+
},
|
| 73 |
+
"weighted": {
|
| 74 |
+
"bpd": 0.04429382327484128,
|
| 75 |
+
"elbo": 125.75596185378086,
|
| 76 |
+
"reconstruction_loss": 31.863701411824167,
|
| 77 |
+
"regularization_loss": 93.89226050671236
|
| 78 |
+
}
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
"seed": 2572716058
|
| 82 |
+
}
|
VAE_logs/big_dsprites_sweep/zdim_032/run_020_rerun_00_08shapes_zdim_032/lightning_logs/version_12212/checkpoint_summary.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoints": {
|
| 3 |
+
"best_in_domain": {
|
| 4 |
+
"monitor": "val_in_domain_bpd",
|
| 5 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_020_rerun_00_08shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_in_domain.ckpt",
|
| 6 |
+
"score": 0.046746596693992615
|
| 7 |
+
},
|
| 8 |
+
"best_ood": {
|
| 9 |
+
"monitor": "val_ood_bpd",
|
| 10 |
+
"path": "VAE_logs/big_dsprites_sweep/zdim_032/run_020_rerun_00_08shapes_zdim_032/lightning_logs/version_12212/checkpoints/best_ood.ckpt",
|
| 11 |
+
"score": 0.12553618848323822
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"default_checkpoint": "best_in_domain"
|
| 15 |
+
}
|