AttributeError: module 'lib.models' has no attribute 'LaneATT'
GreatZeZuo opened this issue · 6 comments
when I run " python main.py train --exp_name laneatt_r34_tusimple --cfg cfgs/laneatt_tusimple_resnet34.yml",the program reports an error:
Traceback (most recent call last):
File "main.py", line 59, in
main()
File "main.py", line 52, in main
runner.train()
File "/LaneATT/lib/runner.py", line 32, in train
model = self.cfg.get_model()
File "/LaneATT/lib/config.py", line 28, in get_model
return getattr(models, name)(**parameters, **kwargs)
AttributeError: module 'lib.models' has no attribute 'LaneATT'
Are you using recommended version for all dependencies? If the code has not been modified, that error should not be happening.
I don't know what could cause that error. As you can see here, the LaneATT
attribute is defined in `lib.models. It is possible that something in your environment is not set up correctly, but it would be difficult for me to say what exactly.
I am not sure that I understand. NMS does not require GTs. It is applied here.