Skip to content

Update PyTorch Compatibility and GPU Handling#14

Open
f-amerehi wants to merge 1 commit intoLiYingwei:masterfrom
f-amerehi:master
Open

Update PyTorch Compatibility and GPU Handling#14
f-amerehi wants to merge 1 commit intoLiYingwei:masterfrom
f-amerehi:master

Conversation

@f-amerehi
Copy link
Copy Markdown

Solving issues with the current version of PyTorch.
Changes Made:
Replaced transforms.RandomSizedCrop(224) with transforms.RandomResizedCrop(224) for random resizing and cropping of images.
Deprecated the use of transforms.Scale and replaced it with transforms.Resize for image resizing.
Set the CUDA device to 0 to avoid the error "No CUDA GPUs are available" in ImageNet.py scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant