u-net-brain-tumor icon indicating copy to clipboard operation
u-net-brain-tumor copied to clipboard

when using u_net_bn in model,i get the error

Open zmmzzz opened this issue 6 years ago • 3 comments

when using u_net_bn in model,i get the error "train_op = tf.train.AdamOptimizer(lr_v, beta1=beta1).minimize(loss, var_list=t_vars)",and "ValueError: No variables to optimize",what's the reason,how can i figure out ?

zmmzzz avatar Jan 10 '19 03:01 zmmzzz

please report your TF, TL and python versions.

zsdonghao avatar Jan 10 '19 05:01 zsdonghao

what i am using now is: TF=1.6 TL=1.7 python=3.5 i had run this code ,but the system error occured: failed call to cuInit: CUDA_ERROR_UNKNOWN ,retrieving CUDA diagnostic information for host: amax.
while the TITAN X was already installed

if convenient,it's very appreciate to tell me what's the suitabe version. i have another doubt,to compare the result of different models, can i add a new model to the file"model.py",without changing other codes in the file"train.py"?

zmmzzz avatar Jan 11 '19 01:01 zmmzzz

the version i am using is: CUDA: 9.0.176 CUDNN:#define CUDNN_MAJOR 7 #define CUDNN_MINOR 0 #define CUDNN_PATCHLEVEL 5 #define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

zmmzzz avatar Jan 11 '19 01:01 zmmzzz