Code Monkey home page Code Monkey logo

cursefilter's People

Contributors

heegyukim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cursefilter's Issues

checkpoint argument error

Traceback (most recent call last):
File "demo_app.py", line 38, in
curse_model, hate_model = get_modules()
File "/opt/conda/lib/python3.8/site-packages/streamlit/caching.py", line 573, in wrapped_func
return get_or_create_cached_value()
File "/opt/conda/lib/python3.8/site-packages/streamlit/caching.py", line 557, in get_or_create_cached_value
return_value = func(*args, **kwargs)
File "demo_app.py", line 31, in get_modules
curse = TextClassificationStudentModule.load_from_checkpoint(curse, device)
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/core/module.py", line 1531, in load_from_checkpoint
loaded = _load_from_checkpoint(
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/core/saving.py", line 63, in _load_from_checkpoint
checkpoint = _pl_migrate_checkpoint(
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/utilities/migration/utils.py", line 113, in _pl_migrate_checkpoint
old_version = _get_version(checkpoint)
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/utilities/migration/utils.py", line 136, in _get_version
return checkpoint["pytorch-lightning_version"]
KeyError: 'pytorch-lightning_version'

image
서비스하시는 페이지도 동일한 에러가 발생합니다.
모델에 한 번은 접근이 돼야 저런 인자를 가짜로라도 줄 수 있을 텐데 혹시 해결하는 방법이 있을까요?

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.