Code Monkey home page Code Monkey logo

Comments (3)

Uz-Hakim avatar Uz-Hakim commented on August 16, 2024

Trying to load the first 10 json files of my synth data returns an error:

File "load_ten_json_test.py", line 84, in <module>
    X, Y = file_io.load_raw_json_db(datadir)
  File "C:\Users\uzair\Desktop\stormnet_test\STORM-Net-master\CapCalibrator\file_io.py", line 273, in load_raw_json_db
    timesteps_per_sample = X[0].shape[0]
IndexError: list index out of range

Investigating further shows the valid stickers in each file:

[False, False, False, False, False, False, False]
[False, False, False, False, False, False, False]
[False, False, False, False, False, False, False]
[False, False, False, False, False, False, False]
[False, False, False, False, False, False, False]
[False, False, False, False, False, False, True]
[False, False, False, False, False, False, True]
[False, False, False, False, False, False, True]
[False, False, False, False, False, False, True]
[False, False, False, False, False, False, True]

In comparison synthetic data generated from the provided template file gives all true for valid_stickers and the json files load fine.

from storm-net.

Uz-Hakim avatar Uz-Hakim commented on August 16, 2024

This seems to occur only when using the command line to run the training via train.py script. Using the gui interface which seems to call torch_train.py (rather than train.py) seems to load data fine

from storm-net.

yoterel avatar yoterel commented on August 16, 2024

Hi there, torch_train.py is indeed the correct training script, the train.py script is deprecated.
I will move it into a legacy folder to avoid this problem in the future, sorry for the misunderstanding.

also updated README to reflect this.

from storm-net.

Related Issues (11)

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.