Code Monkey home page Code Monkey logo

infinitemonkeys's Issues

Importing new h5 model weights

Hi Craig,

When I'm trying to load in a new Keras LSTM_Text_Generation model to Infinite Monkeys, I'm getting this issue. I think the issue is with saving the model on the Keras side. The Keras example doesn't save the model to a h5 file by default. So I just added model.save() after each iteration. Do you have any advice about how to export the h5 file from the Keras training so it works with the app?

HDF5-DIAG: Error detected in HDF5 (1.10.0) thread 0:
  #000: /Users/tom.power/Documents/GitHub/InfiniteMonkeys/Pods/HDF5Kit/dist/src/H5G.c line 474 in H5Gopen2(): unable to open group
    major: Symbol table
    minor: Can't open object
  #001: /Users/tom.power/Documents/GitHub/InfiniteMonkeys/Pods/HDF5Kit/dist/src/H5Gint.c line 289 in H5G__open_name(): group not found
    major: Symbol table
    minor: Object not found
  #002: /Users/tom.power/Documents/GitHub/InfiniteMonkeys/Pods/HDF5Kit/dist/src/H5Gloc.c line 430 in H5G_loc_find(): can't find object
    major: Symbol table
    minor: Object not found
  #003: /Users/tom.power/Documents/GitHub/InfiniteMonkeys/Pods/HDF5Kit/dist/src/H5Gtraverse.c line 869 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #004: /Users/tom.power/Documents/GitHub/InfiniteMonkeys/Pods/HDF5Kit/dist/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #005: /Users/tom.power/Documents/GitHub/InfiniteMonkeys/Pods/HDF5Kit/dist/src/H5Gloc.c line 385 in H5G_loc_find_cb(): object 'lstm' doesn't exist
    major: Symbol table
    minor: Object not found
fatal error: LSTM lstm group not found in file: file /Users/tom.power/Documents/GitHub/InfiniteMonkeys/NetworkBuilder.swift, line 77
2017-08-04 16:53:57.797039+0200 FictionGeneratorApp[2060:382426] fatal error: LSTM lstm group not found in file: file /Users/tom.power/Documents/GitHub/InfiniteMonkeys/NetworkBuilder.swift, line 77

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.