PyTorch Tricks Compilation
Author丨z.defying@Zhihu Source丨https://zhuanlan.zhihu.com/p/76459295 Editor | Jishi Platform For academic sharing only, please contact to delete if there is infringement Table of Contents 1. Specify GPU ID 2. View model output details for each layer 3. Gradient Clipping 4. Expand image dimensions 5. One-hot encoding 6. Prevent out-of-memory during model validation 7. Learning rate decay 8. Freeze … Read more