An element that I feel have improved my PyTorch training speed was tuning the DataLoader.
Using pin_memory=True, .to(device, non_blocking=True), and an appropriate num_workers helped keep my GPU much busier and reduced data-loading bottlenecks.
#PyTorch#DeepLearning
One thing I’ve learned from training medical imaging models:
More epochs ≠ better results.
Training longer doesn’t always improve performance. Sometimes, adding more high-quality and diverse samples makes more difference.
#MedicalImaging#DeepLearning#MachineLearning