Comments (5)
which torch version and PyTorch-lightning version are you using?
from comet.
what happens if you install version 0.0.6?
pip install unbabel-comet==0.0.6
from comet.
pytorch version: 1.6.0
PyTorch-lightning version: 1.3.0
I managed to run it by commenting lines 133 to 136 in comet/models/model_base.py and replacing them with this:
for key in hparams.keys():
self.hparams[key]=hparams[key]
from comet.
I think this is related to a breaking change between Pytorch Lightning 1.2.* and 1.3.0. The requirement should be pytorch-lightning = "<1.3"
and not pytorch-lightning = "<=1.3"
.
If you still want, you can pip install pytorch-lightning==1.2.8
to solve that issue
from comet.
I see. Thank you for that!
from comet.
Related Issues (20)
- pretrained_model setting in hparams.yaml has no effect HOT 1
- [QUESTION] Why does training speed go down? HOT 5
- Multi-GPU training HOT 10
- Using comet-mbr for Multi-Model Translation Ranking: Questions About Input Format and GPU Disabling HOT 3
- 504 Server error when running comet-score using multiple machines HOT 7
- Is `wmt22-comet-da` the same as "COMET-22" & trained on MQM data? HOT 2
- Quantization HOT 2
- TypeError: comet.models.utils.Prediction is not a dataclasss. This is a subclass of ModelOutput and so must use the @dataclass decorator. HOT 5
- Not compatible with recent transformers? HOT 3
- Comet Evaluation Metric Error with Command line Utility HOT 1
- Running the code on Mac
- whar aspects of language gets considered while evaluating the tranlsation by COMET. as far as I am aware of MQM metric sare covered in it. Interested to know other terminolofy/features of language gets in COMET. HOT 1
- what aspects of language get considered while evaluating the translation by COMET. as far as I am aware of MQM metrics are covered in it. Interested in knowing other terminology/features of language gets in COMET. I am looking for metric along with COMET that can assess the translated content for cosmetic domain data. please suggest. HOT 1
- [QUESTION] Train Your Own Metric HOT 2
- Multi-gpu inference returns AttributeError HOT 7
- Mismatch between error span and offsets HOT 2
- [QUESTION] Reliability for en-th and th-en pair HOT 2
- AttributeError: 'dict' object has no attribute 'scores' HOT 2
- [QUESTION] AttributeError: An error occurred during model prediction: 'dict' object has no attribute 'scores' HOT 5
- AttributeError: 'dict' object has no attribute 'scores' when using the model 'Unbabel/wmt22-cometkiwi-da' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comet.