-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[tfjs-core]: Add bicubic resize #1668
Comments
The general approach we take for deciding whether it should be implemented as a backend interface method is if it shows up in ops.pbtxt. In this case, the ops.pbtxt entry looks like this:
Since this appears here, you are exactly right this should be implemented as a kernel and also as an op! High level question for you @sdll -- is there a place where you've outlined the models you want to add to tfjs-models? I think we should probably review this and make sure we'll accept them before you do all the required work. Maybe we can discuss and track on a separate issue? |
@nsthorat, thank you for illuminating the workflow! For sure, I will create a separate issue tracking the current progress and outlining the future work, moving away from the Google Sheet I sent you a while ago. There is also a Notion board to which you have access, but gh issues do seem more robust. |
The bicubic resize is not a major issue, EfficientNet does seem to perform quite well without it, judging from the pytorch implementation, but it would be nice to have it in the long-term. |
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks! |
@rthadur, not sure if the issue should be closed until the bicubic resize is implemented. Is this tracked anywhere else? |
Let's keep this open since it's a feature request. |
Hi, @aptlin Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base. The TFJs team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TFJs version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate. Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow.js space. Thank you for your support and cooperation. |
So do we plan to have bicubic resize or not? Thanks! |
TensorFlow.js version
1.1.2
Describe the problem or feature request
EfficientNet requires the support for a bicubic resize for the optimal performance, yet it is not yet in the
tfjs-core
toolkit. Using a bilinear resize does deteriorate the performance.Code
As far as I understand, we need to add the corresponding op to the image ops after implementing them in all of the backends and adjust the tensor interface. Am I correct?
The text was updated successfully, but these errors were encountered: