A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pytorch/pytorch/issues/3883 below:

Assertion `pos >= 0 && pos < buffer.size()` failed · Issue #3883 · pytorch/pytorch · GitHub

My code runs well for a while , it occurs randomly.....

Traceback (most recent call last): File "train.py", line 236, in <module> train_vgg("/mnt/new_disk/subset/models/accu_distance_metric_243.pth",dset='luna16') File "train.py", line 54, in train_vgg loss_value.backward() File "/home/uih/anaconda2/lib/python2.7/site-packages/torch/autograd/variable.py", line 169, in backward torch.autograd.backward(self, gradient, retain_graph, create_graph, retain_variables) File "/home/uih/anaconda2/lib/python2.7/site-packages/torch/autograd/__init__.py", line 99, in backward variables, grad_variables, retain_graph) RuntimeError: torch/csrc/autograd/input_buffer.cpp:14: add: Assertion "pos >= 0 && pos < buffer.size()" failed.
Any idea what's happend? Thanks in advance~

santisy, tensorboy, ansleliu, ternaus and cltdevelop


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4