Traceback (most recent call last):


 "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner

self.run()


 "/usr/lib/python3.7/threading.py", line 870, in run

self._target(*self._args, **self._kwargs)


 "server.py", line 781, in serve_until_stopped

session = Session(connection=connection, id=self._count)


 "server.py", line 899, in __init__

print(bytes(e))
TypeError: cannot convert 'TypeError' object to bytes
Traceback (most recent call last):


 "main.py", line 100, in <module>

main()


 "main.py", line 83, in main

train_cateModels(args, cate_data, plot_title, key="")


 "C:\Users\ying\Desktop\DeepGBM\experiments\train_models.py", line 116, in train_cateModels

opt, args.max_epoch, args.batch_size, 1, key)


 "C:\Users\ying\Desktop\DeepGBM\experiments\helper.py", line 168, in TrainWithLog

test_loss, pred_y = EvalTestset(test_x, test_y, model, args.test_batch_size, test_x_opt)


 "C:\Users\ying\Desktop\DeepGBM\experiments\helper.py", line 89, in EvalTestset

return sum_loss / test_len, np.concatenate(y_preds, 0)


 "C:\Users\ying\Miniconda3\lib\site-packages\torch\tensor.py", line 458, in __array__

return self.numpy()
TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
