SpectralNet
SpectralNet copied to clipboard
change dataset and error comes
I have been running the code with the mnist successfully.But when I converted the dataset into 10000 64*64-size pictures of myself,the problem arose. Embeddings which I use have dimensionality of 10. Thank you. Here is the errors:
2019-04-30 16:22:42.154842: I C:\Users\User\Source\Repos\tensorflow\tensorflow\core\kernels\cuda_solvers.cc:159] Creating CudaSolver handles for stream 00000233B3D591D0 2019-04-30 16:22:42.680676: W C:\Users\User\Source\Repos\tensorflow\tensorflow\core\framework\op_kernel.cc:1202] OP_REQUIRES failed at topk_op.cc:92 : Internal: Could not launch TopKKernel: invalid configuration argument. Traceback (most recent call last): File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1361, in _do_call return fn(*args) File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1340, in _run_fn target_list, status, run_metadata) File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 516, in exit c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.InternalError: Could not launch TopKKernel: invalid configuration argument. [[Node: TopKV2 = TopKV2[T=DT_FLOAT, sorted=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Neg, TopKV2/k)]] [[Node: ortho_weights_update/_1413 = _Recv_start_time=0, client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_602_ortho_weights_update", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/pycharm project/SpectralNet-master - 副本/src/applications/run.py", line 206, in
Caused by op 'TopKV2', defined at:
File "D:/pycharm project/SpectralNet-master - 副本/src/applications/run.py", line 206, in
InternalError (see above for traceback): Could not launch TopKKernel: invalid configuration argument. [[Node: TopKV2 = TopKV2[T=DT_FLOAT, sorted=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Neg, TopKV2/k)]] [[Node: ortho_weights_update/_1413 = _Recv_start_time=0, client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_602_ortho_weights_update", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Hey, Can you tell me your tensorflow version? I can not repeat the program when using mnist dataset.
Which tensorflow version are both of you using? I have tested it to work up to tf1.13
Which tensorflow version are both of you using? I have tested it to work up to tf1.13
Thanks for replying. My tensorflow is v1.13.1. This is my re-install version and it worked. The version I have used is also v1.13.1 but it never worked. So, it is the problem of tensorflow.
Which tensorflow version are both of you using? I have tested it to work up to tf1.13
Thanks for replying.My tf is v1.6.0. mnist dataset run successfully, but the problem arose when I run my own dataset