Giter Site home page Giter Site logo

Comments (4)

nsml-admin avatar nsml-admin commented on August 17, 2024 1

안녕하세요~

submit시에는 기존에 run했던 세션을 복사해오고 중간에 생성된 파일은 복사해오지않습니다.

방법은 여러가지가 있겠는데요

  1. intermediate파일을 nsml.save() 함수로 저장합니다. baseline코드에는 없지만, bind_model 함수에 텐서플로우의 sess뿐만아니라 다른 변수들도 전달한후 save, load함수에서 해당변수를 참조, 로드할수있습니다.
    https://n-clair.github.io/nlp-challenge-docs/_build/html/ko_KR/contents/nsml_library/nsml_bind.html

  2. 간단한 방법으로는 necessary.pkl과 같이 트레이닝으로 만들어진 intermediate파일을 nsml download명령어로 가져온후 main파일과 같은 위치에 복사한후 run시키는 방법이있습니다.

감사합니다

from nlp-challenge.

Kcrong avatar Kcrong commented on August 17, 2024

@nsml-admin nsml download 을 할 때, 예시 명령어를 주실 수 있나요?

$ nsml download teamname/NER/123  data -f '/app/main.py'

이런 식으로 진행했으나 Invalid filename character 라는 에러만 뜹니다.

Refer: https://n-clair.github.io/nlp-challenge-docs/_build/html/ko_KR/contents/session/download_a_session_data.html?highlight=download

또한 위 문서와 실제 nsml 바이너리의 인자 설명이 다른데, 어떤 것이 맞는 건가요?
image

from nlp-challenge.

nsml-admin avatar nsml-admin commented on August 17, 2024

@Kcrong
예시명령어는 다음과 같이 사용하실수있습니다.
$nsml download nsmlteam/None/8 ./ -s /app/main.py

문서와 안맞는부분은 수정되었고, 바이너리에 맞춰서 사용하시면 됩니다.

제보 감사드리며 불편을드려서 죄송합니다.

감사합니다

from nlp-challenge.

Kcrong avatar Kcrong commented on August 17, 2024

확인했습니다. 처리 감사합니다

from nlp-challenge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.