-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 'dict' object has no attribute 'net' #136
Comments
我这边好像没办法复现这个问题。请问你修改了代码嘛?如果没有修改的话,请提供使用的PaddleRS版本~ |
是因为版本问题吗? |
|
看起来你用的是1.0-beta版本, |
我在本地运行给的变化检测的例子时,在运行run_task.py进行训练的时候,报错如下:
...
use_vdl: True
2023-04-17 20:20:17 [INFO] 1024 samples in file ./data/levircd/val.txt
2023-04-17 20:20:20 [INFO] 7120 samples in file ./data/levircd/train.txt
Traceback (most recent call last):
File "run_task.py", line 108, in
cfg['optimizer'].args['parameters'] = model.net.parameters()
AttributeError: 'dict' object has no attribute 'net'
这是怎么回事呢?model是个dict吗?
The text was updated successfully, but these errors were encountered: