You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2019-04-19 15:30:36.879298: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:964] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-04-19 15:30:36.879649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531
pciBusID: 0000:02:00.0
totalMemory: 11.91GiB freeMemory: 4.75GiB
2019-04-19 15:30:36.879665: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0
2019-04-19 15:30:37.551722: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-04-19 15:30:37.551754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0
2019-04-19 15:30:37.551764: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N
2019-04-19 15:30:37.551930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4496 MB memory) -> physical GPU (device: 0, name: TITAN X (Pascal), pci bus id: 0000:02:00.0, compute capability: 6.1)
INFO:xxx.store:Generating index with key 1-TTT ..
INFO:xxx-cli.py:Loss @ batch 1 on 800: 1.6608102321624756
Traceback (most recent call last):
File "./bin/xxx-cli.py", line 253, in <module>
main(sys.argv[1:])
File "./bin/xxx-cli.py", line 193, in main
gradients = tape.gradient(loss, trainable_variables)
File "/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/eager/backprop.py", line 901, in gradient
output_gradients=output_gradients)
File "/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/eager/imperative_grad.py", line 64, in imperative_grad
output_gradients)
File "/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 858, in grad_fun
return [dresult._copy(device_name=self_device)]
AttributeError: 'IndexedSlices' object has no attribute '_copy'
The text was updated successfully, but these errors were encountered:
pminervini
changed the title
AttributeError: 'IndexedSlices' object has no attribute '_copy
BUG - AttributeError: 'IndexedSlices' object has no attribute '_copy
Apr 19, 2019
@pminervini This is Duplicate of #24024 already closed issue. we will take a look at the mentioned fix by you and accordingly will be taken care of. Thanks!
TensorFlow version:
Issue:
Environment information:
The text was updated successfully, but these errors were encountered: