reserved arguments

NSML 에서는 세션을 재생성 하는 command 들(nsml fork, nsml submit)을 사용할 때 entry 파일에서 다음의 3가지 옵션을 받을 수 있어야 합니다.

--mode TEXT

들어온 command 가 nsml submit 일 경우 사용됩니다.

nsml submit
--mode test 로 설정됩니다.
--pause INTEGER

model 을 load 할때 1로 설정됩니다.

--iteration TEXT

nsml fork 할 때의 iteration로 설정됩니다. 이는 checkpoint와 동일한 개념입니다. iteration 옵션을 주지 않으면 마지막 wall time 의 model 을 가져옵니다.