-
Notifications
You must be signed in to change notification settings - Fork 43
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
'CTranModel' object has no attribute 'module'. Did you mean: 'modules'? #20
Comments
Can you share the command line you are using? Are you using GPUs? |
Thank you for your reply
|
And were you able to run the commands in the README? |
Yes I were able to download and run the model on voc20 dataset. Even I am able to run the model on new dataset when I also update the image extractor. However, if I keep the image extractor fixed through --freeze_backbone parameter then this error occurs. |
Can you try running without a GPU?
…On Wed, Feb 15, 2023 at 3:30 AM ans92 ***@***.***> wrote:
Yes I were able to download and run the model on voc20 dataset. Even I am
able to run the model on new dataset when I also update the image
extractor. However, if I keep the image extractor fixed through
--freeze_backbone parameter then this error occurs.
—
Reply to this email directly, view it on GitHub
<#20 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJFX7GCIUVFG6VCOIHTVQ3WXSHZPANCNFSM6AAAAAAURD35DI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes I have run the model with cpu but error still exists. Do you think it is causing this problem? |
It could be. I can't replicate the error |
Hi,
I want to run the model by freezing the backbone I am getting the following error in main.py line 56:
'CTranModel' object has no attribute 'module'. Did you mean: 'modules'?
When I change module to modules then I get following error on same line 56 in main.py:
AttributeError: 'function' object has no attribute 'backbone'
Could you please help me regarding this?
The text was updated successfully, but these errors were encountered: