Refined-Segmentation-R-CNN icon indicating copy to clipboard operation
Refined-Segmentation-R-CNN copied to clipboard

__init__() got an unexpected keyword argument 'all_epochs, how to solve this problem?

Open Feiyuanyu opened this issue 5 years ago • 4 comments

1

Feiyuanyu avatar Dec 17 '19 08:12 Feiyuanyu

For some reasons, I wrote my weights saving strategy which may be cause this error. However, I have fix the 'TypeError' today and you can download the new code now.

YalongLiu avatar Dec 30 '19 10:12 YalongLiu

thank you very much, I updata code on my computer ,but new problem comes,how to solve it ? 1

Feiyuanyu avatar Jan 04 '20 07:01 Feiyuanyu

I can run the code with a free memory of about 10GB in GPU. Your free memory here is 5.13GB? May be there is no enough free memory in GPU or CPU. You can open your system monitor and watch the memory consumption. Other solutions:

  1. Update the GPU driver.
  2. Set the batchsize to 1.
  3. Downsample the input image size to 512*512 or smaller.

YalongLiu avatar Jan 06 '20 11:01 YalongLiu

Thank you very much, you are so helpful

Feiyuanyu avatar Jan 07 '20 10:01 Feiyuanyu