Revert "Increase image resolution to 512x512 in training and verification"

This reverts commit 3715bafcb4988d54e5cf0d601ae0eb896c7fe205.
This commit is contained in:
Fam Zheng 2026-02-28 09:14:53 +00:00
parent 74809305ae
commit a1a982fb06
3 changed files with 3 additions and 4 deletions

View File

@ -3,8 +3,7 @@
"allow": [
"Bash(curl:*)",
"Bash(git restore:*)",
"Read(//home/fam/src/themblem/api/products/**)",
"Bash(grep:*)"
"Read(//home/fam/src/themblem/api/products/**)"
],
"deny": [],
"ask": []

View File

@ -584,7 +584,7 @@ def main():
# Define transforms
transform = transforms.Compose([
transforms.Resize((512, 512)),
transforms.Resize((224, 224)),
transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
])

View File

@ -289,7 +289,7 @@ def main():
# Define transforms
transform = transforms.Compose([
transforms.Resize((512, 512)),
transforms.Resize((224, 224)),
transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
])