Testing Error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 287
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Hi Meetshah, I have t=done training . But during testing i got some errors.please go through the errors
(Gan_tf_Ajith) gpu@gpu:~/Desktop/Ajith Balakrishnan/3D Gan/tf-3dgan-master/src$ python 3dgan_mit_biasfree.py 1 ./models/biasfree_360.cptk
All dependencies not loaded, some functionality may not work
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
- https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
- https://github.com/tensorflow/addons
If you depend on functionality not listed there, please file an issue.
WARNING:tensorflow:From /home/gpu/anaconda3/envs/Gan_tf_Ajith/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
Tensor("gen/Relu:0", shape=(32, 4, 4, 4, 512), dtype=float32)
Tensor("gen/Relu_1:0", shape=(32, 8, 8, 8, 256), dtype=float32)
Tensor("gen/Relu_2:0", shape=(32, 16, 16, 16, 128), dtype=float32)
Tensor("gen/Relu_3:0", shape=(32, 32, 32, 32, 64), dtype=float32)
Tensor("gen/Tanh:0", shape=(32, 64, 64, 64, 1), dtype=float32)
Tensor("gen_1/Relu:0", shape=(32, 4, 4, 4, 512), dtype=float32)
Tensor("gen_1/Relu_1:0", shape=(32, 8, 8, 8, 256), dtype=float32)
Tensor("gen_1/Relu_2:0", shape=(32, 16, 16, 16, 128), dtype=float32)
Tensor("gen_1/Relu_3:0", shape=(32, 32, 32, 32, 64), dtype=float32)
Tensor("gen_1/Tanh:0", shape=(32, 64, 64, 64, 1), dtype=float32)
WARNING:root:Setting up a new session...
2019-04-03 14:48:12.744862: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-04-03 14:48:12.776387: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2793445000 Hz
2019-04-03 14:48:12.776740: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x560e4a86a990 executing computations on platform Host. Devices:
2019-04-03 14:48:12.776883: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
WARNING:tensorflow:From /home/gpu/anaconda3/envs/Gan_tf_Ajith/lib/python3.5/site-packages/tensorflow/python/training/saver.py:1266: 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.
WARNING:tensorflow:From /home/gpu/anaconda3/envs/Gan_tf_Ajith/lib/python3.5/site-packages/tensorflow/python/training/saver.py:1266: 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.
1.0000001 -0.9996578 (64, 64, 64, 1)
Traceback (most recent call last):
File "3dgan_mit_biasfree.py", line 267, in
testGAN(trained_model_path=path)
File "3dgan_mit_biasfree.py", line 261, in testGAN
d.plotVoxelVisdom(np.squeeze(g_objects[id_ch[i]]>0.5), vis, '_'.join(map(str,[i])))
File "/home/gpu/Desktop/Ajith Balakrishnan/3D Gan/tf-3dgan-master/src/dataIO.py", line 59, in plotVoxelVisdom
v, f = getVFByMarchingCubes(voxels)
File "/home/gpu/Desktop/Ajith Balakrishnan/3D Gan/tf-3dgan-master/src/dataIO.py", line 51, in getVFByMarchingCubes
v, f = sk.marching_cubes_lewiner(voxels, level=threshold)
ValueError: too many values to unpack (expected 2)
(Gan_tf_Ajith) gpu@gpu:~/Desktop/Ajith Balakrishnan/3D Gan/tf-3dgan-master/src$ python 3dgan_mit_biasfree.py 1 ./models/biasfree_360.cptk
All dependencies not loaded, some functionality may not work
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
- https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
- https://github.com/tensorflow/addons
If you depend on functionality not listed there, please file an issue.
WARNING:tensorflow:From /home/gpu/anaconda3/envs/Gan_tf_Ajith/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
Tensor("gen/Relu:0", shape=(32, 4, 4, 4, 512), dtype=float32)
Tensor("gen/Relu_1:0", shape=(32, 8, 8, 8, 256), dtype=float32)
Tensor("gen/Relu_2:0", shape=(32, 16, 16, 16, 128), dtype=float32)
Tensor("gen/Relu_3:0", shape=(32, 32, 32, 32, 64), dtype=float32)
Tensor("gen/Tanh:0", shape=(32, 64, 64, 64, 1), dtype=float32)
Tensor("gen_1/Relu:0", shape=(32, 4, 4, 4, 512), dtype=float32)
Tensor("gen_1/Relu_1:0", shape=(32, 8, 8, 8, 256), dtype=float32)
Tensor("gen_1/Relu_2:0", shape=(32, 16, 16, 16, 128), dtype=float32)
Tensor("gen_1/Relu_3:0", shape=(32, 32, 32, 32, 64), dtype=float32)
Tensor("gen_1/Tanh:0", shape=(32, 64, 64, 64, 1), dtype=float32)
WARNING:root:Setting up a new session...
2019-04-03 15:29:01.315127: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-04-03 15:29:01.340357: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2793445000 Hz
2019-04-03 15:29:01.340741: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x5582206169a0 executing computations on platform Host. Devices:
2019-04-03 15:29:01.340782: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
WARNING:tensorflow:From /home/gpu/anaconda3/envs/Gan_tf_Ajith/lib/python3.5/site-packages/tensorflow/python/training/saver.py:1266: 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.
WARNING:tensorflow:From /home/gpu/anaconda3/envs/Gan_tf_Ajith/lib/python3.5/site-packages/tensorflow/python/training/saver.py:1266: 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.
1.0 -0.99949867 (64, 64, 64, 1)
Traceback (most recent call last):
File "3dgan_mit_biasfree.py", line 267, in
testGAN(trained_model_path=path)
File "3dgan_mit_biasfree.py", line 261, in testGAN
d.plotVoxelVisdom(np.squeeze(g_objects[id_ch[i]]>0.5), vis, '_'.join(map(str,[i])))
File "/home/gpu/Desktop/Ajith Balakrishnan/3D Gan/tf-3dgan-master/src/dataIO.py", line 59, in plotVoxelVisdom
v, f = getVFByMarchingCubes(voxels)
File "/home/gpu/Desktop/Ajith Balakrishnan/3D Gan/tf-3dgan-master/src/dataIO.py", line 51, in getVFByMarchingCubes
v, f = sk.marching_cubes_lewiner(voxels, level=threshold)
ValueError: too many values to unpack (expected 2)
(Gan_tf_Ajith) gpu@gpu:~/Desktop/Ajith Balakrishnan/3D Gan/tf-3dgan-master/src$
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/dataIO.py at getVFByMarchingCubes on line 51, then review the call from plotVoxelVisdom and the traceback produced by 3dgan_mit_biasfree.py. Run the reported testing command with the checkpoint to verify the failure; done means voxel visualization completes without the unpacking ValueError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- data-visualization, machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100