You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\Users\vcvis\Desktop\isic-2017-segmentation-master\models.py", line 47, in Unet
fc = Dense(128nn, activation='relu')(fc)
File "D:\miniconda\lib\site-packages\keras\engine\topology.py", line 558, in call
self.build(input_shapes[0])
File "D:\miniconda\lib\site-packages\keras\layers\core.py", line 827, in build
constraint=self.kernel_constraint)
File "D:\miniconda\lib\site-packages\keras\legacy\interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "D:\miniconda\lib\site-packages\keras\engine\topology.py", line 391, in add_weight
weight = K.variable(initializer(shape), dtype=dtype, name=name)
File "D:\miniconda\lib\site-packages\keras\initializers.py", line 208, in call
dtype=dtype, seed=self.seed)
File "D:\miniconda\lib\site-packages\keras\backend\tensorflow_backend.py", line 3379, in random_uniform
dtype=dtype, seed=seed)
File "D:\miniconda\lib\site-packages\tensorflow\python\ops\random_ops.py", line 242, in random_uniform
rnd = gen_random_ops.random_uniform(shape, dtype, seed=seed1, seed2=seed2)
File "D:\miniconda\lib\site-packages\tensorflow\python\ops\gen_random_ops.py", line 712, in random_uniform
name=name)
File "D:\miniconda\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 609, in _apply_op_helper
param_name=input_name)
File "D:\miniconda\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 60, in _SatisfiesTypeConstraint
", ".join(dtypes.as_dtype(x).name for x in allowed_list)))
TypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64
The text was updated successfully, but these errors were encountered:
File "C:\Users\vcvis\Desktop\isic-2017-segmentation-master\models.py", line 47, in Unet
fc = Dense(128nn, activation='relu')(fc)
File "D:\miniconda\lib\site-packages\keras\engine\topology.py", line 558, in call
self.build(input_shapes[0])
File "D:\miniconda\lib\site-packages\keras\layers\core.py", line 827, in build
constraint=self.kernel_constraint)
File "D:\miniconda\lib\site-packages\keras\legacy\interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "D:\miniconda\lib\site-packages\keras\engine\topology.py", line 391, in add_weight
weight = K.variable(initializer(shape), dtype=dtype, name=name)
File "D:\miniconda\lib\site-packages\keras\initializers.py", line 208, in call
dtype=dtype, seed=self.seed)
File "D:\miniconda\lib\site-packages\keras\backend\tensorflow_backend.py", line 3379, in random_uniform
dtype=dtype, seed=seed)
File "D:\miniconda\lib\site-packages\tensorflow\python\ops\random_ops.py", line 242, in random_uniform
rnd = gen_random_ops.random_uniform(shape, dtype, seed=seed1, seed2=seed2)
File "D:\miniconda\lib\site-packages\tensorflow\python\ops\gen_random_ops.py", line 712, in random_uniform
name=name)
File "D:\miniconda\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 609, in _apply_op_helper
param_name=input_name)
File "D:\miniconda\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 60, in _SatisfiesTypeConstraint
", ".join(dtypes.as_dtype(x).name for x in allowed_list)))
TypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64
The text was updated successfully, but these errors were encountered: