Traceback (most recent call last):


 "C:\Program 
s\JetBrains\PyCharm Community Edition 2017.2.4\helpers\pydev\pydevd.py", line 1668, in <module>

main()


 "C:\Program 
s\JetBrains\PyCharm Community Edition 2017.2.4\helpers\pydev\pydevd.py", line 1662, in main

globals = debugger.run(setup['file'], None, None, is_module)


 "C:\Program 
s\JetBrains\PyCharm Community Edition 2017.2.4\helpers\pydev\pydevd.py", line 1072, in run

pydev_imports.execfile(file, globals, locals)
# execute the script


 "C:\Program 
s\JetBrains\PyCharm Community Edition 2017.2.4\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "D:/Project/cnn_captcha-master/train_model.py", line 282, in <module>

main()


 "D:/Project/cnn_captcha-master/train_model.py", line 277, in main

tm.train_cnn()
# 开始训练模型


 "D:/Project/cnn_captcha-master/train_model.py", line 196, in train_cnn

y_predict = self.model()


 "D:/Project/cnn_captcha-master/train_model.py", line 157, in model

print(">>> convolution 1: ", conv1.shape)
AttributeError: 'Tensor' object has no attribute 'shape'
ERROR:Controller:Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/electrumx-1.1-py3.6.egg/server/controller.py", line 166, in on_future_done

future.result()


 "/usr/local/lib/python3.6/dist-packages/electrumx-1.1-py3.6.egg/server/block_processor.py", line 206, in main_loop

await task()


 "/usr/local/lib/python3.6/dist-packages/electrumx-1.1-py3.6.egg/server/block_processor.py", line 250, in check_and_advance_blocks

await self.controller.run_in_executor(self.advance_blocks, blocks)


 "/usr/local/lib/python3.6/dist-packages/electrumx-1.1-py3.6.egg/server/controller.py", line 146, in run_in_executor

return await self.loop.run_in_executor(None, func, *args)


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.6/dist-packages/electrumx-1.1-py3.6.egg/server/block_processor.py", line 500, in advance_blocks

undo_info = self.advance_txs(block.transactions)


 "/usr/local/lib/python3.6/dist-packages/electrumx-1.1-py3.6.egg/server/block_processor.py", line 542, in advance_txs

cache_value = spend_utxo(txin.prev_hash, txin.prev_idx)
AttributeError: 'TxOutput' object has no attribute 'prev_hash'
