AndyWangON / Brain-tumor-segmentation-using-deep-learning

#BRATS2015 #BRATS2018 #deep learning #fully automatic brain tumor segmentation #U-net # tensorflow #Keras
54 stars 29 forks source link

"TypeError": 'module' object is not callable...... #7

Open mubeenmeo344 opened 5 years ago

mubeenmeo344 commented 5 years ago

merge([UpSampling2D(size=(2, 2))(conv5), conv4], mode='concat', concat_axis=1)

when I Run the above line....it gave me the following error...Kindly reply as fast as possible

" Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2018.1.3\helpers\pydev\pydevd.py", line 1664, in main() File "C:\Program Files\JetBrains\PyCharm 2018.1.3\helpers\pydev\pydevd.py", line 1658, in main globals = debugger.run(setup['file'], None, None, is_module) File "C:\Program Files\JetBrains\PyCharm 2018.1.3\helpers\pydev\pydevd.py", line 1068, in run pydev_imports.execfile(file, globals, locals) # execute the script File "C:\Program Files\JetBrains\PyCharm 2018.1.3\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:/Users/Mubeen/Downloads/Brain-tumor-segmentation-using-deep-learning-master/BRATS2015.py", line 187, in model = unet_model() File "C:/Users/Mubeen/Downloads/Brain-tumor-segmentation-using-deep-learning-master/BRATS2015.py", line 140, in unet_model up6 = merge([UpSampling2D(size=(2, 2))(conv5), conv4], mode='concat', concat_axis=1) TypeError: 'module' object is not callable "