-
Notifications
You must be signed in to change notification settings - Fork 98
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
Refactored model and standardmodel #624
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @AMHermansen!
Thank you for this! I think the refactor looks good, but it also appears that you have removed the functionality introduced in #610 . Was this intentional?
def forward( | ||
self, data: Union[Data, List[Data]] | ||
) -> List[Union[Tensor, Data]]: | ||
def forward(self, data: Data) -> List[Union[Tensor, Data]]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you've removed the functionality introduced in #610. Was this intentional? If so, could you elaborate on why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RasmusOrsoe Good catch, it would seem I was doing the refactor from an outdated branch prior to #610 . I've now added the functionality from #610 to the refactor.
Updates _get_batch_size to get batch_size from sequence bucketing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AMHermansen Thanks!
Closes #599