heegyukim / cursefilter Goto Github PK
View Code? Open in Web Editor NEWDetect & Filter korean curse text using huggingface transformer, KcBERT, Transformer-Interpret
License: MIT License
Detect & Filter korean curse text using huggingface transformer, KcBERT, Transformer-Interpret
License: MIT License
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'
서비스하시는 페이지도 동일한 에러가 발생합니다.
모델에 한 번은 접근이 돼야 저런 인자를 가짜로라도 줄 수 있을 텐데 혹시 해결하는 방법이 있을까요?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.