So, to be more exact, this is the test.py file of ESRGAN: Good morning and thanks for the fast reply I have been trying for hours until now to solve this problem after visiting multiple other threads, but with no success (mostly because I don’t even know where to input PyTorch commands in the fist place, as the Anaconda Prompt doesn’t let me run them…)Īpologies again for my ignorance and thanks in advance for your help Tried to allocate 5.21 GiB (GPU 0 8.00 GiB total capacity 3.01 GiB already allocated 2.66 GiB free 336.43 MiB cached) Return torch._C._nn.upsample_nearest2d(input, _output_size(2)) Output = model(img_LR).data.squeeze().float().cpu().clamp_(0, 1).numpy()įile “C:\Users\ctamv\Anaconda3\lib\site-packages\torch\nn\modules\module.py”, line 541, in callįile “D:\2414FC7A.Viber_p61zvh252yqyr!Viber.Universal\ESRGAN-master\RRDBNet_arch.py”, line 75, in forwardįea = self.lrelu(self.upconv2(F.interpolate(fea, scale_factor=2, mode=‘nearest’)))įile “C:\Users\ctamv\Anaconda3\lib\site-packages\torch\nn\functional.py”, line 2500, in interpolate Unfortunately though, when I tried to replicate this whole process, the following error popped up in the Anaconda Prompt and which I would appreciate it extremely if anyone could help me resolve it: I tested my first image with my new RTX 2070 Super and the result came out in an astounding 4 seconds (considering that last time I tried it with a CPU it took 7 hours). so apologies in advance if I end up wasting your time after all with this whole Thread.Īnyways, some days ago I was able to successfully install the ESRGAN Upsaler ( ) along with all of its prerequisites. This is my first time posting here and I’m a complete Python/Deep Learning noobie for the time being.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |