• Tim O'Donnell's avatar
    use string_types instead of str in get_substream_rstates dtype assertion · ef975430
    Tim O'Donnell 提交于
    Using Theano 1.0.4 via Keras 2.2.5 under Python 2.7.12, calling `keras.model.model_from_json()` for model deserialization fails at this assertion in theano at `get_substream_rstates` because `json.loads()` as called by Keras is returning a dict with unicode objects as values. This PR fixes the problem.
    ef975430
rng_mrg.py 46.6 KB