1adrianb / 1adrianb/binary-networks-pytorch

A bug in the readme file

Abierto Apto para principiantes
#7 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
149
Forks
15
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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()}])

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, pytorch
Área
documentation
Tipo de issue
Documentación
Dificultad
1/5
Tiempo estimado
Menos de una hora
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
90/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.