Skip to content

Commit

Permalink
Fix: Fix the reference parameter name error
Browse files Browse the repository at this point in the history
Fix the reference parameter name error. The name is "SR_IMAGE_TYPE" instead of "IMAGE_TYPE"
  • Loading branch information
bestl1fe authored Nov 1, 2024
1 parent 8901191 commit e1ba4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# model.networks.sr
SR_IMAGE_TYPE = "RGB"
SR_IMAGE_CHANNEL = image_type_choices[IMAGE_TYPE]
SR_IMAGE_CHANNEL = image_type_choices[SR_IMAGE_TYPE]

# Data processing
# ****** torchvision.transforms.Compose ******
Expand Down

0 comments on commit e1ba4c7

Please sign in to comment.