easton-cau / SOTR

SOTR: Segmenting Objects with Transformers
MIT License
193 stars 32 forks source link

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: #19

Open azlanqazi2012 opened 3 months ago

azlanqazi2012 commented 3 months ago

While training the model, getting following error, can anybody help me here?

image

JokerJackson commented 2 months ago

I try to change nn.ReLU to nn.ReLU6. I have already solved this problem.