Skip to content

Commit

Permalink
Fixed default wandb project name
Browse files Browse the repository at this point in the history
  • Loading branch information
ohayonguy committed Oct 11, 2024
1 parent 599f7fb commit c344cec
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion scripts/train/blind_face_restoration/train_pmrf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ python train.py \
--weight_decay 1e-2 \
--lr 5e-4 \
--source_noise_std 0.1 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Blind face restoration PMRF" \
--mmse_model_arch "swinir_L" \
--mmse_model_ckpt_path "./checkpoints/swinir_restoration512_L1.pth" # Path to the DifFace checkpoint of SwinIR
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior mean predictor"
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Naive Flow" \
--source_noise_std 0.1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "PMRF" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on the posterior mean" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on Y" \
--conditional
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior mean predictor"
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Naive Flow" \
--source_noise_std 0.025
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "PMRF" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on the posterior mean" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on Y" \
--conditional
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior mean predictor"
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Naive Flow" \
--source_noise_std 0.1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "PMRF" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on the posterior mean" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on Y" \
--conditional
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior mean predictor"
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Naive Flow" \
--source_noise_std 0.1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "PMRF" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on the posterior mean" \
--mmse_model_arch "swinir_M" \
--mmse_model_ckpt_path "/path/to/checkpoint/last.ckpt" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ python train.py \
--t_schedule "stratified_uniform" \
--weight_decay 1e-2 \
--lr 5e-4 \
--wandb_project_name "Posterior-Mean Rectified Flow" \
--wandb_project_name "PMRF" \
--wandb_group "Posterior conditioned on Y" \
--conditional
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def main(args):
help='Optimizer learning rate.')
parser.add_argument('--betas', type=tuple, required=False, default=(0.9, 0.95),
help='Betas for the AdamW optimizer.')
parser.add_argument('--wandb_project_name', type=str, required=True, default='Rectified Restoration Flow',
parser.add_argument('--wandb_project_name', type=str, required=True, default='PMRF',
help='Project name for weights and biases logger.')
parser.add_argument('--wandb_group', type=str, required=False, default=None,
help='Group of wandb experiment.')
Expand Down

0 comments on commit c344cec

Please sign in to comment.