RBPN-PyTorch icon indicating copy to clipboard operation
RBPN-PyTorch copied to clipboard

Process finished with exit code -1073741819 (0xC0000005)

Open XY-boy opened this issue 5 years ago • 2 comments

I encountered a problem, the python program did not report any errors, and directly showed that the process exited: Process finished with exit code -1073741819 (0xC0000005) . Has anyone encountered the same problem? I would be grateful if I could be guided

XY-boy avatar Jul 13 '20 14:07 XY-boy

Is there still a freeze somewhere before the error message? Do you use Windows? try the following "eval.py":

def eval():
    model.eval()
    count=1
    avg_psnr_predicted = 0.0
    for batch in testing_data_loader:
        input, target, neigbor, flow, bicubic = batch[0], batch[1], batch[2], batch[3], batch[4]

if __name__ == '__main__':	
        
        with torch.no_grad():

CybotDNA avatar Oct 21 '21 15:10 CybotDNA

It is probably because your image is too short,try larger image. When I set num_work=0 in dataloader , I get the same result as yours, hope that can help you

Arcananana avatar Nov 07 '21 19:11 Arcananana