DeepTrial / Retina-VesselNet

A Simple U-net model for Retinal Blood Vessel Segmentation based on tensorflow2
303 stars 76 forks source link

hello author, I am getting this error when I run main_trian.py ValueError: zero-size array to reduction operation maximum which has no identity #34

Closed MaleehaKhan closed 3 years ago

xizhilanting commented 4 years ago

你好,找到解决方案了吗?Hello, have you found a solution for this error?

boba1234 commented 4 years ago

Hi i am getting this error too

MaleehaKhan commented 4 years ago

keep the original settings or try this file, hope it helps

Maleeha Khalid Khan


From: boba1234 notifications@github.com Sent: Thursday, February 6, 2020 9:44 AM To: DeepTrial/Retina-VesselNet Retina-VesselNet@noreply.github.com Cc: MaleehaKhan maleehakhalidkhan@hotmail.com; Author author@noreply.github.com Subject: Re: [DeepTrial/Retina-VesselNet] hello author, I am getting this error when I run main_trian.py ValueError: zero-size array to reduction operation maximum which has no identity (#34)

Hi i am getting this error too

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DeepTrial/Retina-VesselNet/issues/34?email_source=notifications&email_token=AGU6FFVNA5QMCS5ONUFTF6TRBOIRJA5CNFSM4IJT22PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK55FNA#issuecomment-582734516, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGU6FFXIAZQKIVYEMAKOWWDRBOIRJANCNFSM4IJT22PA.

boba1234 commented 4 years ago

Thanks for the reply. i've kept the original settings without changing anything in the codes. May i ask which file are you referring to? There was no file attached.

MaleehaKhan commented 4 years ago

Prepare_datasets_DRIVE.py has been attached

Get Outlook for Androidhttps://aka.ms/ghei36


From: boba1234 notifications@github.com Sent: Thursday, February 6, 2020 6:20:03 PM To: DeepTrial/Retina-VesselNet Retina-VesselNet@noreply.github.com Cc: MaleehaKhan maleehakhalidkhan@hotmail.com; Author author@noreply.github.com Subject: Re: [DeepTrial/Retina-VesselNet] hello author, I am getting this error when I run main_trian.py ValueError: zero-size array to reduction operation maximum which has no identity (#34)

Thanks for the reply. i've kept the original settings without changing anything in the codes. May i ask which file are you referring to? There was no file attached.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DeepTrial/Retina-VesselNet/issues/34?email_source=notifications&email_token=AGU6FFQSBTDSC5AC45QO2J3RBQFAHA5CNFSM4IJT22PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7GDBY#issuecomment-582902151, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGU6FFSS7J67DVJVKRH7LEDRBQFAHANCNFSM4IJT22PA.

boba1234 commented 4 years ago

i've sent an email to you~ can you attach the code there? Thanks alot!

MaleehaKhan commented 4 years ago

Hi there, attached with this mail is the prepare_datasets_DRIVE.py file, put this file in 'retina blood vessel segmentation' and in BCDU-Net master folder put DRIVE data (the data is available online) and then run the code it will work perfectly .

Maleeha Khalid Khan


From: boba1234 notifications@github.com Sent: Thursday, February 6, 2020 7:55 PM To: DeepTrial/Retina-VesselNet Retina-VesselNet@noreply.github.com Cc: MaleehaKhan maleehakhalidkhan@hotmail.com; Author author@noreply.github.com Subject: Re: [DeepTrial/Retina-VesselNet] hello author, I am getting this error when I run main_trian.py ValueError: zero-size array to reduction operation maximum which has no identity (#34)

i've sent an email to you~ can you attach the code there? Thanks alot!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DeepTrial/Retina-VesselNet/issues/34?email_source=notifications&email_token=AGU6FFULTYPKIBBG4PC6ZELRBQQHJA5CNFSM4IJT22PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7QDPA#issuecomment-582943164, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGU6FFTEECFMRQ7U5D3DGCDRBQQHJANCNFSM4IJT22PA.

MaleehaKhan commented 4 years ago

code

Maleeha Khalid Khan


From: boba1234 notifications@github.com Sent: Thursday, February 6, 2020 7:55 PM To: DeepTrial/Retina-VesselNet Retina-VesselNet@noreply.github.com Cc: MaleehaKhan maleehakhalidkhan@hotmail.com; Author author@noreply.github.com Subject: Re: [DeepTrial/Retina-VesselNet] hello author, I am getting this error when I run main_trian.py ValueError: zero-size array to reduction operation maximum which has no identity (#34)

i've sent an email to you~ can you attach the code there? Thanks alot!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DeepTrial/Retina-VesselNet/issues/34?email_source=notifications&email_token=AGU6FFULTYPKIBBG4PC6ZELRBQQHJA5CNFSM4IJT22PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7QDPA#issuecomment-582943164, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGU6FFTEECFMRQ7U5D3DGCDRBQQHJANCNFSM4IJT22PA.

manvirvirk commented 4 years ago

Hi i am getting this error too

hi i m getting same error, did you find solution to it?

MaleehaKhan commented 4 years ago

In step 1 generate images for val_data, then use it in 2 step could be a solution ...

Get Outlook for Androidhttps://aka.ms/ghei36


From: manvirvirk notifications@github.com Sent: Sunday, April 5, 2020 4:39:25 PM To: DeepTrial/Retina-VesselNet Retina-VesselNet@noreply.github.com Cc: MaleehaKhan maleehakhalidkhan@hotmail.com; Author author@noreply.github.com Subject: Re: [DeepTrial/Retina-VesselNet] hello author, I am getting this error when I run main_trian.py ValueError: zero-size array to reduction operation maximum which has no identity (#34)

Hi i am getting this error too

hi i m getting same error, did you find solution to it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DeepTrial/Retina-VesselNet/issues/34#issuecomment-609402625, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGU6FFRMYIGQVG5PPGXAWRLRLBUW3ANCNFSM4IJT22PA.

manvirvirk commented 4 years ago

hi i want to train this model on my own database. I have images and respective labels. Can any one help??

DeepTrial commented 3 years ago

hello guys, i have update the code. If you still have problems, open the issue again