efficientdensenet_crnn
efficientdensenet_crnn copied to clipboard
> '''RuntimeError: Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor for argument #2 'source'
''' RuntimeError: Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor for argument #2 'source' '''
Got this error on line 407 of
efficientdensenet_crnn/train/pytorch-train/models/efficient_densecrnn.py
, can you please help ?
This code is based on pytorch=0.2.0,so the bug is appearance。So the author can modify the code so that it can run which the pytorch=0.4.0 or pytorch=0.4.1 ,Thanks
Originally posted by @windowxiaoming in https://github.com/phybrain/efficientdensenet_crnn/issues/2#issuecomment-437740805