liutinglt / CE2P

214 stars 41 forks source link

what's the right input size of pretrained model #27

Closed Anikily closed 5 years ago

Anikily commented 5 years ago

I notice that the input size is 473 in paper, and the evaluate code set the size to 384

nemonameless commented 5 years ago

@Anikily @liutinglt I found that when I was training, the memory became more and more until the GPU was full, and there was no error message such as out of memory. I used torch. cuda. empty_cache() and del variables, which had no effect. Have you ever encountered this kind of situation?

liutinglt commented 5 years ago

@Anikily This is the updated code, you can train with input size 473 as well, and the result will be higher.

liutinglt commented 5 years ago

@nemonameless please try smaller batch size

Anikily commented 5 years ago

@liutinglt so,what's the right size to reproduce the performance in Readme using pretrained model?

liutinglt commented 5 years ago

@Anikily 384