Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dinov2 fixes #91

Merged
merged 1 commit into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Scripts/options/train_default_options_paired_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/ATD/ATD_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/ATD/ATD_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/ArtCNN/ArtCNN_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/ArtCNN/ArtCNN_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/Compact/Compact_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/Compact/Compact_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/DAT/DAT_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/DAT/DAT_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/DRCT/DRCT_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/DRCT/DRCT_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/ESRGAN/ESRGAN_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/ESRGAN/ESRGAN_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/HAT/HAT_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/HAT/HAT_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/HiT-SR/HiT-SR_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/HiT-SR/HiT-SR_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/LMLT/LMLT_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/LMLT/LMLT_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/MoSR/MoSR_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/MoSR/MoSR_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
8 changes: 6 additions & 2 deletions options/train/OmniSR/OmniSR_OTF_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ train:
# Additional losses - disabled by default.
# To enable, change the loss_weight from 0 to the recommended loss_weight which appears as a comment next to the loss weight.
# For example to enable DISTS loss, change the loss weight from 0 to 0.25; to enable color loss change loss weight from 0 to 1.
# DISTS loss
# DISTS perceptual loss
dists_opt:
type: DISTSLoss # DISTSLoss, ADISTSLoss
use_input_norm: true
loss_weight: 0 #0.3
loss_weight: 0 # 0.3
# DINOv2 perceptual loss
dinov2_opt:
type: DinoV2Loss
loss_weight: 0 # 0.02

# Mix of Augmentations (MoA)
use_moa: false # Whether to enable mixture of augmentations, which augments the dataset on the fly to create more variety and help the model generalize.
Expand Down
Loading