Closed huynhhoanghuy closed 1 year ago
contact me, I fixed it
Hi, @huynhhoanghuy. I think that clrcmd trainer is trying to access model.model
while your model is wrapped into DataParallel, hence there is no .model
attribute.
See addressed issue
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
System Info
System Info
I am training parallel GPUs and not using pretrained weight. However, during training, I got this issue and break training:
This is training code:
I searched problem, but I didn't find any solution for this. Could you help me?
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Wrap the model with train_result = trainer.train()
Expected behavior
Can solve issue