lurunchik / nf-cats Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Thanks for the nice work!
I get the following error, using a fresh environment. It appears to be something going wrong in AllenNLP, but I couldn't get to the bottom of it with a bit of searching and debugging.
Traceback (most recent call last):
File "nfcats/train.py", line 54, in <module>
main()
File "nfcats/train.py", line 40, in main
train_model(params=params, serialization_dir=str(serialization_dir))
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/commands/train.py", line 242, in train_model
file_friendly_logging=file_friendly_logging,
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/commands/train.py", line 466, in _train_worker
metrics = train_loop.run()
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/commands/train.py", line 528, in run
return self.trainer.train()
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/training/trainer.py", line 930, in train
metrics, epoch = self._try_train()
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/training/trainer.py", line 963, in _try_train
train_metrics = self._train_epoch(epoch)
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/training/trainer.py", line 752, in _train_epoch
description = training_util.description_from_metrics(metrics)
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/training/util.py", line 413, in description_from_metrics
for name, value in metrics.items()
File "/home/sean/miniconda3/envs/nfcats3/lib/python3.7/site-packages/allennlp/training/util.py", line 414, in <listcomp>
if not name.startswith("_")
TypeError: must be real number, not FBetaMeasure
Maybe it's a library version incompatibility and worth freezing some versions?
Also, for my case, I don't really need to train -- I was just interested in model inference. Could you release the trained model?
Thanks!
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.