titu1994 / Fully-Connected-DenseNets-Semantic-Segmentation

Fully Connected DenseNet for Image Segmentation (https://arxiv.org/pdf/1611.09326v1.pdf)
84 stars 41 forks source link

NameError: name 'DenseNetFCN' is not defined #15

Closed MinuteswithMetrics closed 6 years ago

MinuteswithMetrics commented 6 years ago

I get the following code when I try to run the script.

`NameError Traceback (most recent call last)

in () 1 import densenet_fc as dc 2 ----> 3 model = DenseNetFCN((64, 64, 3), nb_dense_block=5, growth_rate=16, 4 nb_layers_per_block=4, upsampling_type='upsampling', classes=1) NameError: name 'DenseNetFCN' is not defined`
titu1994 commented 6 years ago

You should use the DenseNet repository that I have. It has the updated version of this model.

As to your issue, you import densenet_fc as dc, so you should write dc.DenseNetFCN(..)

MinuteswithMetrics commented 6 years ago

Thank you!!!!

On Feb 2, 2018 12:34 PM, "Somshubra Majumdar" notifications@github.com wrote:

You should use the DenseNet repository that I have. It has the updated version of this model.

As to your issue, you import densenet_fc as dc, so you should write dc.DenseNetFCN(..)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/titu1994/Fully-Connected-DenseNets-Semantic-Segmentation/issues/15#issuecomment-362665632, or mute the thread https://github.com/notifications/unsubscribe-auth/AYMhuzDrrwWlpmV5gQeMyimZDY5BtOUUks5tQ1N4gaJpZM4R3kDn .