forked from matterport/Mask_RCNN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_in_hpc.sh.e3290306
31 lines (23 loc) · 2.99 KB
/
run_in_hpc.sh.e3290306
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Using TensorFlow backend.
WARNING:tensorflow:From /home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:541: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:From /home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:66: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
WARNING:tensorflow:From /home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:4432: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.
WARNING:tensorflow:From /home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:2139: The name tf.nn.fused_batch_norm is deprecated. Please use tf.compat.v1.nn.fused_batch_norm instead.
WARNING:tensorflow:From /home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:4267: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.
WARNING:tensorflow:From /home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:2239: The name tf.image.resize_nearest_neighbor is deprecated. Please use tf.compat.v1.image.resize_nearest_neighbor instead.
WARNING:tensorflow:From /home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/tensorflow_core/python/ops/array_ops.py:1475: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
WARNING:tensorflow:From /share/lab_tan/Kyu/work/codes/mask_rcnn/Mask_RCNN/mrcnn/model.py:556: The name tf.random_shuffle is deprecated. Please use tf.random.shuffle instead.
WARNING:tensorflow:From /share/lab_tan/Kyu/work/codes/mask_rcnn/Mask_RCNN/mrcnn/utils.py:202: The name tf.log is deprecated. Please use tf.math.log instead.
WARNING:tensorflow:From /share/lab_tan/Kyu/work/codes/mask_rcnn/Mask_RCNN/mrcnn/model.py:603: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version.
Instructions for updating:
box_ind is deprecated, use box_indices instead
Traceback (most recent call last):
File "/share/lab_tan/Kyu/work/codes/mask_rcnn/Mask_RCNN/samples/nucleus/nucleus.py", line 486, in <module>
model.load_weights(weights_path, by_name=True)
File "/share/lab_tan/Kyu/work/codes/mask_rcnn/Mask_RCNN/mrcnn/model.py", line 2140, in load_weights
saving.load_weights_from_hdf5_group_by_name(f, layers)
File "/home/4471416/.conda/envs/tf_keras/lib/python3.6/site-packages/keras/engine/saving.py", line 1290, in load_weights_from_hdf5_group_by_name
str(weight_values[i].shape) + '.')
ValueError: Layer #389 (named "mrcnn_bbox_fc"), weight <tf.Variable 'mrcnn_bbox_fc/kernel:0' shape=(1024, 8) dtype=float32_ref> has shape (1024, 8), but the saved weight has shape (1024, 324).