Closed soori95 closed 3 years ago
Please provide more information about your bug. Is the environment ok for GPU running? Maybe a simple test can bring more clues.
I run on windows
WARNING:tensorflow:From F:\DJ-RN-master\DJ-RN-master\pointnet\models\transform_nets.py:41: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.
WARNING:tensorflow:Variable += will be deprecated. Use variable.assign_add if you want assignment to the variable value or 'x = x + y' if you want a new python Tensor object. WARNING:tensorflow:Variable += will be deprecated. Use variable.assign_add if you want assignment to the variable value or 'x = x + y' if you want a new python Tensor object. WARNING:tensorflow:From Feature_extraction.py:52: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.
WARNING:tensorflow:From Feature_extraction.py:55: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.
WARNING:tensorflow:From Feature_extraction.py:59: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2020-12-23 12:42:24.312104: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 2020-12-23 12:42:24.502234: I tensorflow/core/common_runtime/direct_session.cc:296] Device mapping:
WARNING:tensorflow:From C:\Users\avajang\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version. Instructions for updating: Use standard file APIs to check for files with this prefix. 2020-12-23 12:42:24.907703: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/ExpandDims: (ExpandDims)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907737: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weights/Initializer/random_uniform/RandomUniform: (RandomUniform)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907746: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weights/Initializer/random_uniform/sub: (Sub)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907753: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weights/Initializer/random_uniform/mul: (Mul)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907760: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weights/Initializer/random_uniform: (Add)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907766: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weights: (VariableV2)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907772: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weights/Assign: (Assign)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907778: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weights/read: (Identity)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907785: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/L2Loss: (L2Loss)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907792: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/weight_loss: (Mul)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907799: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/Conv2D: (Conv2D)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907806: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/biases: (VariableV2)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907812: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/biases/Assign: (Assign)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907818: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/biases/read: (Identity)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907825: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/BiasAdd: (BiasAdd)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907893: W tensorflow/core/common_runtime/colocation_graph.cc:1016] Failed to place the graph without changing the devices of some resources. Some of the operations (that had to be colocated with resource generating operations) are not supported on the resources' devices. Current candidate devices are [ /job:localhost/replica:0/task:0/device:CPU:0]. See below for details of this colocation group: Colocation Debug Info: Colocation group had the following types and supported devices: Root Member(assigned_device_nameindex=-1 requested_devicename='/device:GPU:1' assigned_devicename='' resource_devicename='/device:GPU:1' supported_devicetypes=[CPU] possibledevices=[] VariableV2: CPU Assign: CPU Identity: CPU
Colocation members, user-requested devices, and framework assigned devices, if any: transform_net1/tconv1/bn/beta (VariableV2) /device:GPU:1 transform_net1/tconv1/bn/beta/Assign (Assign) /device:GPU:1 transform_net1/tconv1/bn/beta/read (Identity) /device:GPU:1 save/Assign_43 (Assign) /device:GPU:1
2020-12-23 12:42:24.907912: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/beta: (VariableV2)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907919: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/beta/Assign: (Assign)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907925: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/beta/read: (Identity)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907957: W tensorflow/core/common_runtime/colocation_graph.cc:1016] Failed to place the graph without changing the devices of some resources. Some of the operations (that had to be colocated with resource generating operations) are not supported on the resources' devices. Current candidate devices are [ /job:localhost/replica:0/task:0/device:CPU:0]. See below for details of this colocation group: Colocation Debug Info: Colocation group had the following types and supported devices: Root Member(assigned_device_nameindex=-1 requested_devicename='/device:GPU:1' assigned_devicename='' resource_devicename='/device:GPU:1' supported_devicetypes=[CPU] possibledevices=[] VariableV2: CPU Assign: CPU Identity: CPU
Colocation members, user-requested devices, and framework assigned devices, if any: transform_net1/tconv1/bn/gamma (VariableV2) /device:GPU:1 transform_net1/tconv1/bn/gamma/Assign (Assign) /device:GPU:1 transform_net1/tconv1/bn/gamma/read (Identity) /device:GPU:1 save/Assign_44 (Assign) /device:GPU:1
2020-12-23 12:42:24.907969: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/gamma: (VariableV2)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907976: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/gamma/Assign: (Assign)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907982: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/gamma/read: (Identity)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907989: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/moments/mean: (Mean)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.907995: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/moments/StopGradient: (StopGradient)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.908003: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/moments/SquaredDifference: (SquaredDifference)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.908010: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/moments/variance: (Mean)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.908017: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/moments/Squeeze: (Squeeze)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.908024: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/moments/Squeeze_1: (Squeeze)/job:localhost/replica:0/task:0/device:CPU:0 2020-12-23 12:42:24.908031: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv1/bn/cond/Switch: (Switch)/job:localhost/replica:0/task:0/device:CPU:0
It looks that your TF environment is not ready or not successfully complied, please ensure your TF is OK first.
Ok. Thanks
Hello when running "python Feature_extraction.py --input_list script/vertex_path_GT.txt --model_path ../Feature_extraction/model_10000.ckpt" I have many errors about Cpu:0 such as: 2020-12-22 23:24:43.600425: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv2/bn/cond/ExponentialMovingAverage: (NoOp): /job:localhost/replica:0/task:0/device:CPU:0 2020-12-22 23:24:43.600431: I tensorflow/core/common_runtime/placer.cc:54] transform_net1/tconv2/bn/cond/control_dependency: (Identity): /job:localhost/replica:0/task:0/device:CPU:0