Closed Mayureshd-18 closed 8 months ago
If this works, I would like to add the try except suite in every code. Regards
Hi, thank you for the pull request.
This is a great idea, but I would prefer a cleaner solution such as:
device = ‘cuda’ if torch.cuda.is_available() else ‘cpu’
If this works, I would like to add the try except suite in every code. Regards