Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Conversation

@thekevinscott
Copy link

I'm converting the MAXIM models into Tensorflow.js models for use in Javascript.

When using fixed sizes, the model converts fine. However, using dynamic sizes (polymorphism) fails. For a discussion of why, see here.

This PR adjusts the UpSampleRatio block to avoid the casting to int, which allows dynamically sized inputs (although inputs must still be a multiple of 64, which must be enforced outside of the model call).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant