How to use TorchVisionFCModel to change model to accept 3D input? #3210
Unanswered
mattwarkentin
asked this question in
Q&A
Replies: 1 comment 16 replies
-
Hi @mattwarkentin , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Based on the documentation it seems like
monai.networks.nets.TorchVisionFCModel()
allows one to use one of the existingtorchvision
models and adapt it so it accepts 3D data and can have any number of output classes. Maybe I am misunderstanding how this all works (it seems like it).But I thought I could modify
resnet50
to accept 3D data for a single class output like:The first layer of the network is now:
But I can't seem to figure out what size the input tensor should be, and no matter what I've tried I get an error like the following:
Am I doing this wrong?
Beta Was this translation helpful? Give feedback.
All reactions