1adrianb / 1adrianb/binary-networks-pytorch
A bug in the readme file
- Lingua principale
- Python
- Stelle
- 149
- Fork
- 15
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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()}])
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, pytorch
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 90/100