Comments (4)
Switching to python2 seems to solve the problem. Token file is now called c_idx_processed_dialogs.json
and contains valid tokens. Training also seems to be working
from cakechat.
@hurlenko the problem has nothing to do with c_idx_processed_dialogs.json
, instead it's most likely caused by string formatting in py3. You can wrap each format argument with str
to make sure that all arguments are cast correctly to string format:
laconic_logger.warning('\t{0:<40} {1:<12} -> {2:<12}'.format( str(var_name), str(saved_shape), str(default_shape) ))
from cakechat.
tools/prepare_index_files.py
seems to produce incorrect output when run with python3. Either way I believe I'll close the issue as everything is fine when using python2.
from cakechat.
@hurlenko tools/prepare_index_files.py
seems to work fine for me with py3. The problem may relate to overwriting the original tokens index file, see this answer: #26 (comment)
from cakechat.
Related Issues (20)
- Using the trained model HOT 5
- How to get only 1 sentence of answer? HOT 3
- Grammatically-correct response HOT 3
- ValueError: numpy.ufunc has the wrong size when launching Docker container HOT 4
- AttributeError: 'module' object has no attribute '_get_ndarray_c_version' HOT 7
- Syntax Error:Invalid Syntax HOT 3
- tools/fetch.py ImportError: DLL load failed: The specified module could not be found. error HOT 12
- tools/fetch.py fails. File can not be downloaded. HOT 2
- When the training model is successfully restarted, the start-up service fails to find the model. HOT 8
- Dataset Format HOT 4
- cannot get trained model HOT 1
- Tensorflow GPU issue HOT 7
- Quick start for GPU version: HOT 2
- DialogFlow HOT 3
- Installing on Google Cloud Platform HOT 4
- APK? HOT 6
- Recommended server specs? HOT 2
- How to train data with new condition HOT 2
- add actions when asked something HOT 1
- Gives import error on running fetch.py HOT 3
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 cakechat.