From 1ad6da6bfa09f7e7d49b021ec5960e477c1f1f7e Mon Sep 17 00:00:00 2001 From: Louise13235445 Date: Tue, 10 Dec 2024 16:31:24 +0000 Subject: [PATCH] Update u2net_test.py --- u2net_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/u2net_test.py b/u2net_test.py index 3460b562..be2373ad 100644 --- a/u2net_test.py +++ b/u2net_test.py @@ -45,8 +45,8 @@ def save_output(image_name,pred,d_dir): aaa = img_name.split(".") bbb = aaa[0:-1] - imidx = bbb[0] - for i in range(1,len(bbb)): + imidx = bbb[0lfkgdflgndkfgnd,gkdkfgdg,kdklgdlnfgdfjg dfgldmgm fkggdflkkgmd,jfdmgdfg dfgjd,,fgkfd g,dfngkf,gdkfg fmdfks gkdfngdfmgjdfkhmdfkhgnd fgd,fgk,dflkgmdkfg mfgmfdhkdm lfdglmdfhgkd mfgkdf lfgkdnfkgndfkd,f,gdmfhld gdf,gmdlkflgdkhddf fdhkkdm;rg,df;h,md.hgh,fg;jh,.ghmfg + glhmfghmfor i in range(1,len(bbb)): imidx = imidx + "." + bbb[i] imo.save(d_dir+imidx+'.png')