hover_net icon indicating copy to clipboard operation
hover_net copied to clipboard

When carrying out the small graph prediction, we found that the predicted results lacked some pictures

Open kiven1213 opened this issue 4 years ago • 4 comments

@simongraham和@vqdang When carrying out the small graph prediction, we found that the predicted results lacked some pictures。 image

image I put in 547 predictions, but only 537 came out

kiven1213 avatar Oct 11 '21 13:10 kiven1213

In addition, I predicted that there would be such a problem of lack of results in other data sets. Is this a bug? Or am I doing something wrong

kiven1213 avatar Oct 11 '21 13:10 kiven1213

Hi @kiven1213 ,

Are you talking about tile or wsi mode? Also, can you clearly explain what you mean by 'pictures'? Are you referring to the generated overlay?

Please provide more info so we can help you solve this.

simongraham avatar Oct 19 '21 12:10 simongraham

@simongraham tile mode,When I did the image prediction, I found that THE input was 547 images, but the overlay only got 537 images

kiven1213 avatar Oct 22 '21 01:10 kiven1213

I think the problem is caused by improper memory management of the program. In 'infer/tile.py' class InferManger.process_file_list(). The program frist pop() a file path : file_path = file_path_list.pop(0), if available_ram <0(available_ram -= expected_usage), this image will be abandoned. I think changing the way of pop should solve this problem.

Bingchao-Zhao avatar Jan 24 '22 07:01 Bingchao-Zhao