Git Product home page Git Product logo

scaper_waspaa2017's People

Contributors

justinsalamon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ufolei

scaper_waspaa2017's Issues

numpy.random._bounded_integers._rand_int64 ValueError: low >= high

hi, thank you for the great work!
I run the "Example: synthesizing 1000 soundscapes in one go", and get the following error:

File "test.py", line 96, in
no_audio=False)
File "/data/chester/anaconda3/envs/dfsl/lib/python3.7/site-packages/scaper/core.py", line 2319, in generate
disable_instantiation_warnings=disable_instantiation_warnings)
File "/data/chester/anaconda3/envs/dfsl/lib/python3.7/site-packages/scaper/core.py", line 1719, in _instantiate
disable_instantiation_warnings=disable_instantiation_warnings)
File "/data/chester/anaconda3/envs/dfsl/lib/python3.7/site-packages/scaper/core.py", line 1454, in _instantiate_event
source_file = _get_value_from_dist(source_file_tuple, self.random_state)
File "/data/chester/anaconda3/envs/dfsl/lib/python3.7/site-packages/scaper/core.py", line 424, in _get_value_from_dist
return SUPPORTED_DIST[dist_tuple[0]](*dist_tuple[1:], random_state=random_state)
File "/data/chester/anaconda3/envs/dfsl/lib/python3.7/site-packages/scaper/util.py", line 270, in _sample_choose
index = random_state.randint(len(new_list_of_options))
File "mtrand.pyx", line 746, in numpy.random.mtrand.RandomState.randint
File "_bounded_integers.pyx", line 1254, in numpy.random._bounded_integers._rand_int64
ValueError: low >= high

can somebody help me? Thank you very much.

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.