Creating a Minimal Reproduction¶
When reporting a bug or requesting assistance, providing a minimal reproduction script accelerates debugging and resolution.
🧪 Minimal Reproduction Guidelines¶
- Self-Contained Script: Ensure the code runs independently without requiring external unpublished datasets.
- Synthetic Data: Use dummy PyTorch tensors (e.g.
torch.randn(2, 3, 224, 224)) to reproduce shape or loss computation errors. - Environment Info: Include the exact terminal output of
python3 main.pyor system info.