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

No WebGPU support for layers required by 3D segmentation CNNs due to no 4D Upsampling or Transposed 3D Convolution support #8463

Open
jphdotam opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels

Comments

@jphdotam
Copy link

jphdotam commented Dec 4, 2024

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template

System information

  • TensorFlow.js version (you are using): 4.0.0
  • Are you willing to contribute it (Yes/No): Beyond my skills

Describe the feature and the current behavior/state. To perform 3D segmentation e.g. a BS * H * W * Depth/time with e.g. a UNet you require a way to 'upsample' on the 'right' side of the U. This is performed using Interpolation/Upsampling or using a transposed convolution. Unfortunately 4D Upsampling doesn't seem to be supported by TFJS. Transposed convolutions are, but don't have GPU support:

Error during inference: TypeError: Unknown op 'Conv3DBackpropInputV2'.

Could one of these be implemented?

Will this change the current api? How? No

Who will benefit with this feature? Anyone using 3D segmentation networks.

Any Other info.

@jphdotam jphdotam added the type:feature New feature or request label Dec 4, 2024
@jphdotam jphdotam changed the title No WebGPU support for layers required by 3D CNNs due to no Upsampling of Transposed 3D Convolution support No WebGPU support for layers required by 3D segmentation CNNs due to no 4D Upsampling or Transposed 3D Convolution support Dec 4, 2024
@shmishra99 shmishra99 self-assigned this Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants