leolv131

Results 11 comments of leolv131

> By the way, i fixed that, > > So now, the distance is vectorized, works if you have one or many images The inference time was improved a lot...

> No, it is not normal, i find the time is spent follow the code, my H*W is 4096,it has to loop 4096 times, is it normal? for i in...

> torch.pow() function and sum() function keep their own results so they needs too much gpu memory. (distance table is too large) > > When I use torch.cdist(x, y, p),...

> Is this problem solved? I've faced the same issue sometimes. i change the coreset_sample_radio

> > > torch.pow() function and sum() function keep their own results so they needs too much gpu memory. (distance table is too large) > > > When I use...

> > > > > torch.pow() function and sum() function keep their own results so they needs too much gpu memory. (distance table is too large) > > > >...

after train , when test it shows the error, how could i solve the problem(I'm trained to use the default parameters of the code.): RuntimeError: CUDA out of memory. Tried...

> @leolv131 I met same issue. > Traceback (most recent call last): > File "train.py", line 452, in > trainer.test(model) > File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 579, in test > results =...

> > @leolv131 I found the solution by set --coreset_sampling_ratio very small, like 0.0001 as the author set. My input is 256X512. > > Hi, everyone, this method dont solve...