Git Product home page Git Product logo

cornell-birdcall-competition-starter-pack's People

Contributors

aza avatar radekosmulski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cornell-birdcall-competition-starter-pack's Issues

01c_melspectrogram_dataset_for_pool_shortish.ipynb references data/shifted before its created

The last two cells of the notebook are:

mkdir -p data/npy/shifted

for recording in Path('data/shifted/').iterdir():
    x = sf.read(recording)[0]
    x = audio_to_melspec(x).astype(np.float32)
    np.save(f'data/npy/shifted/{recording.stem}.npy', x)

Yet data/shifted has never been populated if you run notebooks 00, 01, 01a, 01b, 01c

In 01b the MelspecPoolWithShiftedDataset is created and has the ability to return files read from data/shifted but yet it's not created or used yet. Then at the end of 01c an attempt is made to iterate through data/shifted to produce shifted spectrograms in data/npy/shifted.

FileNotFoundError: [Errno 2] No such file or directory: 'data/class2train_items.pkl'

In notebook 01b_melspectogram_dataset_for_pool.ipynb, cell 16 tries to read data/class2train_items.pkl but this file has not been created yet. From what I can see its not created until 02j_train_on_melspectograms_pytorch_lme_pool_all_classes_simple.ipynb much later in the tutorial.

classes = pd.read_pickle('data/classes.pkl')
train_ds = MelspecPoolDataset(pd.read_pickle('data/class2train_items.pkl'), classes)

What code should be before this cell to generate the file? I think perhaps that cell just got put in by mistake as all it does is create train_ds which we already did in the previous cell.

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.