Request for Help
Before asking for help, please search the forums. Click the magnifying glass in the top right. Try a few different searches if you don’t find anything right away. If you need help with your installation, please see troubleshooting docs, and be sure to show the output of:
python -c 'import fastai; fastai.show_install(1)'
When you ask for help, you have a lot of context about your problem that the person you’re asking doesn’t know (and the answer depends on that context). By following these guidelines, others will be able to more quickly and effectively help you. Be sure to:
- Be as specific as possible. Include relevant code, full stack trace, error outputs, etc. “fastai isn’t working” is a lot worse than “I can’t figure out how to use a different sampler in my dataloader”, which is a lot worse than "Here’s a code snippet where I’m trying to use a
WeightedRandomSampler, and it’s giving the following error:
- Search your question here on the forums, as well as on Google (bonus points if you include links you found in your search that were helpful but didn’t fully answer your question!)
- Include a (the shortest possible) code snippet to demonstrate what you’re trying to do (for more info, please see https://stackoverflow.com/help/mcve). In the case of Deep Learning problems, consider what’s really needed for someone to reproduce your problem. Does the person helping you need to download your entire dataset, or does a single piece of data work? Or even better, does a
torch.onestensor of the same shape as your data produce the same error?
- Please include your system version and setup: are you developing locally on Windows? Remotely on AWS?
- Be sure to mention if you’re not using our standard official setup steps, or if you’ve made some changes
- Note that what computer you’re actually typing at is generally not what we need to know, unless your problem is with awscli or some similar PC problem; since the actual analysis is generally running on a remote machine (e.g. AWS or Paperspace) it’s the details of that which we need
- Tell us:
- What steps you’ve tried to fix the problem yourself, what you expected in each case, and what actually happened
- Your hypotheses about what might be going wrong, and your ideas about what approaches might be able to fix it
- What you’ve typed, particularly if you’ve done anything differently to the setup and notebooks we’ve given you
- Exactly what error message you received
- If relevant, show screenshots of problems that occurred
- Whether the results of any earlier steps or configuration processes looked different in any way to what we did in class
- What you’ve already tried to fix your problem (for instance, if you tried restarting the kernel on your notebook, or you read a related wiki page that didn’t cover your use case)
- If relevant, if there’s something similar that did work for you (for example, you were able to get a command to work on t2, but not on p2).
Bug reports are welcome here. We do ask that your follow the previous instructions as appropriate – especially giving us the code needed to reproduce your bug is very helpful.
And remember, we’re all here to help you, but we’re not magic (and also unpaid). We’ll try our best to get you to a solution, and showing that you’re also putting in effort is appreciated.
Thanks to @danielhunter for contributing to this guide.