def requiredGPU_MB(self, n):
from darknet.core import darknet_with_cuda<EOL>if (darknet_with_cuda()): <EOL><INDENT>free = getFreeGPU_MB()<EOL>print("<STR_LIT>", n, free)<EOL>if (free == -<NUM_LIT:1>): <EOL><INDENT>return True<EOL><DEDENT>return (free>=n)<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Required GPU memory in MBytes