facebookresearch / ClassyVision

An end-to-end PyTorch framework for image and video classification
https://classyvision.ai
MIT License
1.59k stars 278 forks source link

Update mixup transform to be compatible with latest pytorch (#97) #753

Closed lauragustafson closed 3 years ago

lauragustafson commented 3 years ago

Summary: Pull Request resolved: https://github.com/fairinternal/ClassyVision/pull/97

torch.clip is an alias for torch.clamp, see https://pytorch.org/docs/stable/generated/torch.clip.html?highlight=clip#torch.clip

and torch.clip is no longer in the latest pytorch version

Differential Revision: D29520476

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D29520476

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D29520476

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D29520476

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D29520476

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D29520476

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D29520476

facebook-github-bot commented 3 years ago

This pull request has been merged in facebookresearch/ClassyVision@8e3d7587e4102cf308ee77498fa0ff395058bc1b.