{"action":"created","issue":{"url":"https://api.github.com/repos/xy0806/miccai17-mmwhs-hybrid/issues/4","repository_url":"https://api.github.com/repos/xy0806/miccai17-mmwhs-hybrid","labels_url":"https://api.github.com/repos/xy0806/miccai17-mmwhs-hybrid/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/xy0806/miccai17-mmwhs-hybrid/issues/4/comments","events_url":"https://api.github.com/repos/xy0806/miccai17-mmwhs-hybrid/issues/4/events","html_url":"https://github.com/xy0806/miccai17-mmwhs-hybrid/issues/4","id":295418681,"number":4,"title":"Error when I loaded your model","user":{"login":"wujy2015","id":12770122,"avatar_url":"https://avatars1.githubusercontent.com/u/12770122?v=4","gravatar_id":"","url":"https://api.github.com/users/wujy2015","html_url":"https://github.com/wujy2015","followers_url":"https://api.github.com/users/wujy2015/followers","following_url":"https://api.github.com/users/wujy2015/following{/other_user}","gists_url":"https://api.github.com/users/wujy2015/gists{/gist_id}","starred_url":"https://api.github.com/users/wujy2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wujy2015/subscriptions","organizations_url":"https://api.github.com/users/wujy2015/orgs","repos_url":"https://api.github.com/users/wujy2015/repos","events_url":"https://api.github.com/users/wujy2015/events{/privacy}","received_events_url":"https://api.github.com/users/wujy2015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-08T08:08:03Z","updated_at":"2018-04-20T02:05:42Z","closed_at":null,"author_association":"NONE","body":"Hi Xin,\r\nThanks for sharing your code. Are the best model parameters included in model/C3D_unet_1chn/ ? I want to use your model to make a prediction.\r\n\r\nI change the function:\r\ndef load_chkpoint(self, checkpoint_dir):\r\n        self.saver = tf.train.import_meta_graph('../outcome/model/C3D_unet_1chn/C3DCONV1CHAN.meta')\r\n        self.saver.restore(self.sess, checkpoint_dir)\r\n\r\nWhen I load the model, I got the error:\r\npython main.py \r\n[{'save_intval': 2000, 'rename_map': '0, 205, 420, 500, 550, 600, 820, 850', 'inputI_size': 96, 'learning_rate': 0.001, 'batch_size': 1, 'inputI_chn': 1, 'output_chn': 8, 'phase': 'test', 'traindata_dir': '/home/ec2-user/ct_test1', 'outputI_size': 96, 'model_name': 'ds_ft_hybrid_4ct.model', 'epoch': 34000, 'testdata_dir': '/home/ec2-user/ct_test1', 'beta1': 0.5, 'ovlp_ita': 4, 'chkpoint_dir': '/home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN', 'labeling_dir': '/home/ec2-user/ct_test1', 'resize_r': 0.6}]\r\n====== Phase >>> test <<< ======\r\n2018-02-08 08:02:23.175741: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA\r\n2018-02-08 08:02:23.257036: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero\r\n2018-02-08 08:02:23.257377: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: \r\nname: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235\r\npciBusID: 0000:00:1e.0\r\ntotalMemory: 11.17GiB freeMemory: 11.10GiB\r\n2018-02-08 08:02:23.257407: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: Tesla K80, pci bus id: 0000:00:1e.0, compute capability: 3.7)\r\n2018-02-08 08:02:25.762594: W tensorflow/core/framework/op_kernel.cc:1192] Not found: /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n2018-02-08 08:02:25.762720: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key pred_prob/kernel not found in checkpoint\r\n2018-02-08 08:02:25.762924: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux0_conv/bias not found in checkpoint\r\n2018-02-08 08:02:25.763397: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux0_conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.763826: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key pred_prob/bias not found in checkpoint\r\n2018-02-08 08:02:25.764240: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv2_batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.764339: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_2/conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.764640: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv1_batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.764715: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux0_deconv_1/filter not found in checkpoint\r\n2018-02-08 08:02:25.764783: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv2_batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.765047: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_2/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.765289: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux0_prob/filter not found in checkpoint\r\n2018-02-08 08:02:25.765529: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv1_batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.765570: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux0_deconv_2/filter not found in checkpoint\r\n2018-02-08 08:02:25.765815: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_2/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.766113: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux1_conv/bias not found in checkpoint\r\n2018-02-08 08:02:25.766264: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv1_batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.766404: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv2_batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.766477: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_2/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.766771: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux1_conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.766872: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv1_batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.767161: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_2/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.767378: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux1_deconv_1/filter not found in checkpoint\r\n2018-02-08 08:02:25.767378: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv2_batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.767586: W tensorflow/core/framework/op_kernel.cc:1192] Not found: /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n2018-02-08 08:02:25.767869: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_1/deconv/filter not found in checkpoint\r\n2018-02-08 08:02:25.768083: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux2_prob/filter not found in checkpoint\r\n2018-02-08 08:02:25.768154: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_1_batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.768392: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux1_prob/filter not found in checkpoint\r\n2018-02-08 08:02:25.768679: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux2_conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.768728: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key aux2_conv/bias not found in checkpoint\r\n2018-02-08 08:02:25.768882: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_1/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.769093: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_1_batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.769325: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_1_batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.769521: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_2_batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.769593: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_1_batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.769849: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_1/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.770033: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_2_batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.770123: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_2_batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.770302: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv3_2_batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.770397: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_1/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.772371: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv4_1/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.772688: W tensorflow/core/framework/op_kernel.cc:1192] Not found: /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n2018-02-08 08:02:25.772950: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_1_batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.773346: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_1_batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.773724: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_1_batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.774095: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_2_batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.774473: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_2_batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.774840: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_2_batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.775213: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_2_batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.776569: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_2/conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.776901: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv4_1_batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.777139: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_2/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.777553: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_2/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.777936: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_2/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.778324: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_2/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.778707: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_1/deconv/filter not found in checkpoint\r\n2018-02-08 08:02:25.779088: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_1/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.779480: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_1/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.779863: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_1/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.780241: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv3_1/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.780502: W tensorflow/core/framework/op_kernel.cc:1192] Not found: /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n2018-02-08 08:02:25.780675: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_2/conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.781083: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_2/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.781469: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_2/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.781863: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_2/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.782251: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_2/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.782637: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_1/deconv/filter not found in checkpoint\r\n2018-02-08 08:02:25.783028: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_1/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.783416: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_1/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.783808: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_1/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.784207: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv2_1/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.784285: W tensorflow/core/framework/op_kernel.cc:1192] Not found: /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n2018-02-08 08:02:25.784702: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_2/conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.784908: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_1/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.797259: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_1/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.797436: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_2/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.797695: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_1/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.797976: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_1/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.798232: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_1/conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.798302: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_2/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.798664: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_2/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.798879: W tensorflow/core/framework/op_kernel.cc:1192] Not found: /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n2018-02-08 08:02:25.798950: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_2/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.799164: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_2/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.799297: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_2/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.799389: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_2/batch_norm/moving_variance not found in checkpoint\r\n2018-02-08 08:02:25.799752: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_2/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.799854: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_1/batch_norm/beta not found in checkpoint\r\n2018-02-08 08:02:25.800015: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key conv5_2/conv/kernel not found in checkpoint\r\n2018-02-08 08:02:25.800073: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_1/batch_norm/gamma not found in checkpoint\r\n2018-02-08 08:02:25.800526: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_1/batch_norm/moving_mean not found in checkpoint\r\n2018-02-08 08:02:25.800602: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_1/deconv/filter not found in checkpoint\r\n2018-02-08 08:02:25.800771: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key deconv1_1/batch_norm/moving_variance not found in checkpoint\r\nTraceback (most recent call last):\r\n  File \"main.py\", line 39, in <module>\r\n    tf.app.run()\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/platform/app.py\", line 48, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"main.py\", line 34, in main\r\n    model.test_generate_map()\r\n  File \"/home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/src/model.py\", line 434, in test_generate_map\r\n    if self.load_chkpoint(self.chkpoint_dir):\r\n  File \"/home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/src/model.py\", line 517, in load_chkpoint\r\n    self.saver.restore(self.sess, checkpoint_dir)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 1666, in restore\r\n    {self.saver_def.filename_tensor_name: save_path})\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/client/session.py\", line 889, in run\r\n    run_metadata_ptr)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/client/session.py\", line 1120, in _run\r\n    feed_dict_tensor, options, run_metadata)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/client/session.py\", line 1317, in _do_run\r\n    options, run_metadata)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/client/session.py\", line 1336, in _do_call\r\n    raise type(e)(node_def, op, message)\r\ntensorflow.python.framework.errors_impl.NotFoundError: /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n\t [[Node: save/RestoreV2_17 = RestoreV2[dtypes=[DT_FLOAT], _device=\"/job:localhost/replica:0/task:0/device:CPU:0\"](_arg_save/Const_0_0, save/RestoreV2_17/tensor_names, save/RestoreV2_17/shape_and_slices)]]\r\n\t [[Node: save/RestoreV2_51/_117 = _Recv[client_terminated=false, recv_device=\"/job:localhost/replica:0/task:0/device:GPU:0\", send_device=\"/job:localhost/replica:0/task:0/device:CPU:0\", send_device_incarnation=1, tensor_name=\"edge_362_save/RestoreV2_51\", tensor_type=DT_FLOAT, _device=\"/job:localhost/replica:0/task:0/device:GPU:0\"]()]]\r\n\r\nCaused by op u'save/RestoreV2_17', defined at:\r\n  File \"main.py\", line 39, in <module>\r\n    tf.app.run()\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/platform/app.py\", line 48, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"main.py\", line 28, in main\r\n    model = unet_3D_xy(sess, param_set)\r\n  File \"/home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/src/model.py\", line 36, in __init__\r\n    self.build_model()\r\n  File \"/home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/src/model.py\", line 116, in build_model\r\n    self.saver = tf.train.Saver()\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 1218, in __init__\r\n    self.build()\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 1227, in build\r\n    self._build(self._filename, build_save=True, build_restore=True)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 1263, in _build\r\n    build_save=build_save, build_restore=build_restore)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 751, in _build_internal\r\n    restore_sequentially, reshape)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 427, in _AddRestoreOps\r\n    tensors = self.restore_op(filename_tensor, saveable, preferred_shard)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 267, in restore_op\r\n    [spec.tensor.dtype])[0])\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/ops/gen_io_ops.py\", line 1021, in restore_v2\r\n    shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py\", line 787, in _apply_op_helper\r\n    op_def=op_def)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/framework/ops.py\", line 2956, in create_op\r\n    op_def=op_def)\r\n  File \"/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/tensorflow/python/framework/ops.py\", line 1470, in __init__\r\n    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access\r\n\r\nNotFoundError (see above for traceback): /home/ec2-user/miccai17-mmwhs-hybrid/ds_ft_hybrid_4ct/outcome/model/C3D_unet_1chn/C3DCONV1CHAN.data-00000-of-00001; No such file or directory\r\n\t [[Node: save/RestoreV2_17 = RestoreV2[dtypes=[DT_FLOAT], _device=\"/job:localhost/replica:0/task:0/device:CPU:0\"](_arg_save/Const_0_0, save/RestoreV2_17/tensor_names, save/RestoreV2_17/shape_and_slices)]]\r\n\t [[Node: save/RestoreV2_51/_117 = _Recv[client_terminated=false, recv_device=\"/job:localhost/replica:0/task:0/device:GPU:0\", send_device=\"/job:localhost/replica:0/task:0/device:CPU:0\", send_device_incarnation=1, tensor_name=\"edge_362_save/RestoreV2_51\", tensor_type=DT_FLOAT, _device=\"/job:localhost/replica:0/task:0/device:GPU:0\"]()]]\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xy0806/miccai17-mmwhs-hybrid/issues/comments/382943146","html_url":"https://github.com/xy0806/miccai17-mmwhs-hybrid/issues/4#issuecomment-382943146","issue_url":"https://api.github.com/repos/xy0806/miccai17-mmwhs-hybrid/issues/4","id":382943146,"user":{"login":"xy0806","id":16151255,"avatar_url":"https://avatars1.githubusercontent.com/u/16151255?v=4","gravatar_id":"","url":"https://api.github.com/users/xy0806","html_url":"https://github.com/xy0806","followers_url":"https://api.github.com/users/xy0806/followers","following_url":"https://api.github.com/users/xy0806/following{/other_user}","gists_url":"https://api.github.com/users/xy0806/gists{/gist_id}","starred_url":"https://api.github.com/users/xy0806/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xy0806/subscriptions","organizations_url":"https://api.github.com/users/xy0806/orgs","repos_url":"https://api.github.com/users/xy0806/repos","events_url":"https://api.github.com/users/xy0806/events{/privacy}","received_events_url":"https://api.github.com/users/xy0806/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T02:05:42Z","updated_at":"2018-04-20T02:05:42Z","author_association":"OWNER","body":"Dear Junyan,\r\n\r\nyou can find the required model below:\r\n\r\nC3D Model:\r\nhttps://drive.google.com/open?id=1N4LVb03Ehot34Bxcm1KkO14csuThOXUv\r\n\r\nTrained model for CT segmentation:\r\nhttps://drive.google.com/open?id=1Nly8ghHvedVC3EZetFJRRtLq7Ll-U0Fx\r\n\r\nA CT data from the training dataset for demo:\r\nhttps://drive.google.com/open?id=1b2sFaKrBfTRx6i0lBD5L6IZXP01W9L5C\r\n\r\nbest,\r\nxin"}}
{"actor":{"display_login":"xy0806"}}