How to freeze the bottom of some layers by setting their parameters.requires_grad to False, and only train the top layers
Open
Nobody has claimed this yet.
question
- Dominant language
- Python
- Stars
- 39.5k
- Forks
- 4.8k
- PR merge metrics
- No merged PRs in 30d
Description
Hi team,
How to freeze the bottom of some layers by setting their parameters.requires_grad to False, and only train the top layers
Thanks for helping!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names Python's parameters.requires_grad and freezing layers, but no repository file, test, or entry point. Clarify the intended training workflow and location for guidance; done should be a documented, verifiable way to freeze lower layers and train only the top layers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100