Comments (6)
Except line 70 where it can catch anything and print out misleading error message, it is perfectly fine elsewhere. It catches all exceptions, prints where this originates in the configuration file (so you can track it in the configuration) and print the complete original stack trace as if it crashed at the place the exception originated.
from neuralmonkey.
I am making myself a checklist:
- treat differently various excpetion on line 70 and 72 (throw most of them further)
- when the general exception is cought, always print the line number that has caused that
from neuralmonkey.
Since this file will have many changes during the transfer to python 3, I would postpone it after it is done.
from neuralmonkey.
Btw. one of the consequences of this is that when you try to run the current version with Python 2.7, it runs out of stack while catching and re-raising an exception in config_loader. That should never happen.
from neuralmonkey.
Tohle můžem zavřít, ne? Když se v konfiguraci chytá obecná exception, je to jenom, aby se zabalila do jiné excpetion (která ví, kde to bylo v tom konfiguráku) a pošle se dál. Žádnou excpetion to nikdy nesežere.
from neuralmonkey.
jo
from neuralmonkey.
Related Issues (20)
- max_length must be undefined when using SequenceLabeler HOT 1
- learning_utils.join_exection_results does not support OutputSeries == dict
- from_dataset does not exist HOT 2
- dataset.from_files HOT 1
- Confusing Exception message in dataset.py
- Add an output buffering for neuralmonkey-run HOT 2
- Unify dropout usage
- GreedyRunner should not fetch training-related tensors by default during inference HOT 4
- Running as server is broken HOT 1
- neuralmonkey-run with RNN model does not work without reference HOT 1
- Dataset series should support max_len (max_size) flag.
- Neural Monkey does not throw exception when main.initial_variables contains nonexistent path.
- Neural Monkey should throw Exception when tf.Saver.restore fails
- How to train a transformer model with multi-source encoders ? HOT 3
- Exception: Unexpected fields: runners_batch_size HOT 1
- Requirement of editing the post-edit.ini and translation.ini for APE and MT respectively HOT 1
- The Model Configuration in Machine Translation task HOT 1
- some questions about multi-source based transformer model HOT 2
- Did you mean file './dataset.load_dataset_from_files'? HOT 1
- Interested in your paper HOT 1
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 neuralmonkey.