1adrianb / 1adrianb/binary-networks-pytorch
A bug in the readme file
未关闭
适合新手
- 主要语言
- Python
- 星标
- 149
- 派生
- 15
- PR 合并指标
- 30 天内没有已合并 PR
描述
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()}])
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python, pytorch
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 90/100