Giter Site home page Giter Site logo

python-ebdataset's People

Contributors

tihbe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

python-ebdataset's Issues

Typo in readme

There is a typo in usage section:

dt = 1*ms
loader = NMnist(path, is_train=True, transform=ToDense(dt))

The argument transform should be transforms

Reading NMNIST Dataset

Hi,

I am trying to read the NMNIST Dataset by using your code.

I have files like "00001.bin", in short, binary format.

I have got this error:

image

I don't know how to solve this error?

Can you please help me out what's the problem?

Thanks

Possible bug with ibm gesture

Here is minimal working example:

from ebdataset.vision import IBMGesture, H5IBMGesture
from ebdataset.vision.transforms import ToDense
from quantities import ms
H5IBMGesture.convert(DVS_GESTURE_TAR, H5_FILE)
data = H5IBMGesture(H5_FILE)
spike_train = data[0][0]
convert = ToDense(10*ms)
dense = convert(spike_train)

Error message:

index 26880 is out of bounds for dimension 0 with size 128
  File "/home/myhomefolder/pytorch_env/lib/python3.6/site-packages/ebdataset/vision/transforms.py", line 72, in __call__
    ] = 1

I found that the error is because of x and y in dvs spike train, please see below:

spike_train.x
array([   49,    82,  7169, ...,     0,     0, 21248], dtype=uint16)
spike_train.x.max()
65531

dvs gesture size is 128x128, however, I can find values that are greater than 128 in both spike_train.x and spike_train.y

My environment:
torch==1.2.0
numpy==1.17.4
torchvision==0.4.0
h5py==3.1.0
quantities==0.12.4

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.