-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
3D DenseNet #10
Comments
Hello. Try this:
Your error was caused by last dimension 18. By default there are 5 poolings of size 2. You need at least 32 for this dimension. You can use image net weights for 3 channels volumes, like |
Thank you for your answer. I will try and implement the changes you suggested. Thanks again for your reply!!! |
Hello, I have a related question about using imagenet weights on a 1 channel 3D input images. |
@theresahiu Has conseguido resolverlo? tengo el mismo problema |
Hello and sorry to bother you beforehand,
I am currently conducting my master thesis project and I am trying to implement a 3D DenseNet-121 with knee MRIs as input data. While I was searching on how to implement a 3D version of the DenseNet I came across your repository and tried to change it for my application.
I have some issues regarding my try and I didn't know where else to ask about it and again I am sorry if I am completely of topic asking them here.
Firstly, my input shapes are (250,320,18,1) and when I give them as input to the 3D DenseNet I developed with stride_size=1 for my Conv_block and pooling_size=(2,2,2) and strides=(2,2,1) for my AveragePooling3D layer in the transition block, the model is constructed properly with the specific input_size, while when I am trying to load a DenseNet121 from classification_models_3d.tfkeras classifiers I am unable to construct it with input_shape(250,320,18,1), stride_size=1 and kernel_size=2. It gives as an error "Negative dimension size... for node pool4_pool/AvgPool3D". Is there a way to specifically define the strides for AvgPool3D layer in the transition block?
And secondly, I was thinking to load the 3D weights to my 3D DenseNet 121, is there a folder in your repository where I can find your pre-trained weights on imagenet??
Again thank you for having this repository publicly available and sorry if I am completely of topic asking such things here.
I look forward for you answer,
Kind regards,
Anastasis
The text was updated successfully, but these errors were encountered: