Starting Epoch: 1
Traceback (most recent call last):
File "main.py", line 364, in <module>
main()
File "main.py", line 130, in main
main_worker(args)
File "main.py", line 306, in main_worker
train_results = trainer.train(train_data.get_loader(),
File "/MyPath/convNet.pytorch/trainer.py", line 269, in train
return self.forward(data_loader, training=True, average_output=average_output, chunk_batch=chunk_batch)
File "/MyPath/convNet.pytorch/trainer.py", line 224, in forward
prec1, prec5 = accuracy(output, target, topk=(1, 5))
File "/MyPath/convNet.pytorch/utils/meters.py", line 70, in accuracy
correct_k = correct[:k].view(-1).float().sum(0)
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
I get the same error when I try the following command in README.rd:
I have the following config file:
I get the following error:
I get the same error when I try the following command in README.rd:
How to rectify this?
Thanks.