1adrianb / 1adrianb/binary-networks-pytorch
A bug in the readme file
- Langage dominant
- Python
- Étoiles
- 149
- Forks
- 15
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In the example code, you forgot to put {} around the "string:Bconfig()" pair.
Right now:
bmodel = prepare_binary_model(model, bconfig, custom_config_layers_name=['conv1' : BConfig()])
Should be:
bmodel = prepare_binary_model(model, bconfig, custom_config_layers_name=[{'conv1' : BConfig()}])
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
The issue points to a syntax error in the README file. Locate the README.md in the repository root, find the example code for prepare_binary_model, and correct the dictionary syntax by adding curly braces around 'conv1' : BConfig(). Verify the fix by checking the formatting and ensuring no other similar errors exist in the file.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, pytorch
- Domaine
- documentation
- Type d'issue
- Documentation
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 90/100