Naver-AI-Hackathon / AI-Speech

31 stars 5 forks source link

토크나이저 저장을 위해 nsml.save 호출시 에러 #30

Closed kevhahn97 closed 5 years ago

kevhahn97 commented 5 years ago

image 안녕하세요, 토크나이저 학습 후 모델을 저장하려고 하니 위와 같은 에러가 뜹니다. 혹시 어떤 문제인지 도움 받을 수 있을까요? save_fn 정의부분은 다음과 같습니다. image

nsml-admin commented 5 years ago

안녕하세요. 실제 코드를 봐야할것같습니다 세션이름을 알려주시면 확인해보겠습니다.

kevhahn97 commented 5 years ago

team69/sr-hack-2019-dataset/123 으로 확인해주시면 감사하겠습니다.

nsml-admin commented 5 years ago

아래와 같이 바꾸고 실행해보시기 바랍니다.

    nsml.bind(save=save_and_train_tokenizer)
    nsml.save('tokenizer')
kevhahn97 commented 5 years ago

감사합니다