Skip to content
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

what is the meaning of "self.base_model = base_model" in encoders.py ? #4

Open
faychu opened this issue Dec 3, 2018 · 1 comment
Open

Comments

@faychu
Copy link

faychu commented Dec 3, 2018

Hi, it seems that the code "self.base_model = base_model" is ineffective, since self.base_model is not used in encoders.py.

However, when I remove the statement, the result changes a lot.
So, what is the meaning of the statement in encoders.py?

@liangxun
Copy link

liangxun commented Apr 2, 2019

Hi, it seems that the code "self.base_model = base_model" is ineffective, since self.base_model is not used in encoders.py.

However, when I remove the statement, the result changes a lot.
So, what is the meaning of the statement in encoders.py?

try "print(model)", the computing graph is incomplete without "self.base_model".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants