Comments (2)
I ran the app with debug mode (python -m vizseq.server --port 9001 --data-root ./examples/data --debug
)
and when I accessed the webapp it gave me this Traceback :
Traceback (most recent call last):
File "/home/remondn/.venv/presum/lib/python3.6/site-packages/tornado/web.py", line 1590, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/remondn/workspace/vizseq/vizseq/server.py", line 82, in get
VizSeqWebView.get_enum_tasks_and_names_and_enum_models(args.data_root)
File "/home/remondn/workspace/vizseq/vizseq/_view/web_view.py", line 81, in get_enum_tasks_and_names_and_enum_models
d for d in os.listdir(data_root)
FileNotFoundError: [Errno 2] No such file or directory: './examples/data'
It's because the data was downloaded in ./data/
and not ./examples/data/
. Running the server again with the right path :
python -m vizseq.server --port 9001 --data-root ./data
works perfectly 😃
You might want to update README and change the data-root
path, by default get_example_data.sh
download the data to ./data
and not ./examples/data
.
from vizseq.
Thanks for reporting this! I will fix the unzipping path in get_example_data.sh
.
from vizseq.
Related Issues (15)
- [Bug] Multiple references HOT 3
- 🐛 AttributeError: 'VizSeqLogger' object has no attribute 'set_console_mode' HOT 1
- Plans for windows 10 support HOT 1
- [Question] Calculated BLEU score HOT 3
- [Bug] Vizseq CSS breaks Jupyter layout
- View Scores NoneType not subscriptable HOT 1
- [Feature Request] Update BertScorer with oop implementation HOT 1
- [Bug] - cannot import name 'tokenize_13a' from 'sacrebleu' HOT 6
- Question about `tag` and `group` in official example HOT 2
- Example speech task (IWSLT17 dev) not pairing correct audio source with reference [Bug]
- pip3 install vizseq failed on AArch64, Fedora 33
- [Bug] BLEUScorer uses wrong default tokenizer.
- 🐛 TypeError: score() got an unexpected keyword argument 'bert' HOT 1
- [Bug] Getting Import error (Tokenizer13a) when following instructions
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 vizseq.