Comments (2)
This seems like a problem with your Trainer yaml. This sometimes happens when you are using a different pytorch-lightning version where the trainer class as new init args. Please check what version of lightning you have and if the yaml does not have any argument that is not in the Trainer class
from comet.
HI @ricardorei ,
I was using pytorch-lightening 1.9.5 so I updated it to 2.1.0.
When it is upgraded to 2.1.0 then it results in this error instead:
AttributeError: Can't pickle local object 'CometModel.val_dataloader.locals.lambda'
I saw a similar conversation around this error in issue #159 and checked my torchmetrics package as well and it is 0.10.3 as recommended
It seems like the problem is coming from the fact that I am using a different accelerator. I have tried with cpu and gpu (though it is mps since I am on a M1 chip mac) and gotten the same error each time.
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
- 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.