Giter Club home page Giter Club logo

cs224s-project's People

Contributors

kennykleung avatar kennyleung-su avatar rcchen avatar

Watchers

 avatar  avatar  avatar

cs224s-project's Issues

ValueError: arrays must be the same length

(venv) Rogers-MBP-2:cs224s-project rogerchen$ python main.py 
loading vocab from var/data/vocab.txt
Traceback (most recent call last):
  File "main.py", line 128, in <module>
    tf.app.run()
  File "/Users/rogerchen/Development/github.com/rcchen/cs224s-project/venv/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "main.py", line 106, in main
    debug_data_file, FLAGS.debug)
  File "/Users/rogerchen/Development/github.com/rcchen/cs224s-project/var/utils/dataset.py", line 36, in __init__
    preprocessor, mode, max_seq_len, vocab)
  File "/Users/rogerchen/Development/github.com/rcchen/cs224s-project/var/utils/dataset.py", line 57, in _create_dataframes
    return pd.DataFrame(df)
  File "/Users/rogerchen/Development/github.com/rcchen/cs224s-project/venv/lib/python2.7/site-packages/pandas/core/frame.py", line 275, in __init__
    mgr = self._init_dict(data, index, columns, dtype=dtype)
  File "/Users/rogerchen/Development/github.com/rcchen/cs224s-project/venv/lib/python2.7/site-packages/pandas/core/frame.py", line 411, in _init_dict
    return _arrays_to_mgr(arrays, data_names, index, columns, dtype=dtype)
  File "/Users/rogerchen/Development/github.com/rcchen/cs224s-project/venv/lib/python2.7/site-packages/pandas/core/frame.py", line 5594, in _arrays_to_mgr
    index = extract_index(arrays)
  File "/Users/rogerchen/Development/github.com/rcchen/cs224s-project/venv/lib/python2.7/site-packages/pandas/core/frame.py", line 5642, in extract_index
    raise ValueError('arrays must all be same length')
ValueError: arrays must all be same length

Is there a file I'm missing somewhere?

GPU not utilized during training with tensorflow-gpu

Tried on both master and experimental branches

Tue May 30 23:29:19 2017       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66                 Driver Version: 375.66                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 960     Off  | 0000:01:00.0      On |                  N/A |
|  0%   36C    P2    27W / 160W |    438MiB /  1993MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1111    G   /usr/lib/xorg/Xorg                             185MiB |
|    0      2067    G   compiz                                         117MiB |
|    0      4597    C   python                                         131MiB |
+-----------------------------------------------------------------------------+

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.