TypeError: __init__() got an unexpected keyword argument 'data_tensor'
SeekPoint opened this issue · comments
yuanke commented
mldl@ub1604:/ub16_prj/relation-classification-via-attention-model$ python3.6 acnn_train.py/ub16_prj/relation-classification-via-attention-model$
Traceback (most recent call last):
File "acnn_train.py", line 74, in
train_datasets = D.TensorDataset(data_tensor=train, target_tensor=y_tensor)
TypeError: init() got an unexpected keyword argument 'data_tensor'
mldl@ub1604:
yuanke commented
caused by torch version issue