Code Monkey home page Code Monkey logo

Comments (6)

seva100 avatar seva100 commented on September 27, 2024

@2017john, HDF5 datasets can be recreated with scripts/Organize datasets.ipynb notebook.

Nevertheless, I have uploaded all the datasets here.

from optic-nerve-cnn.

LuShuaie avatar LuShuaie commented on September 27, 2024

@seva100 Thank you.

from optic-nerve-cnn.

Geeks-Sid avatar Geeks-Sid commented on September 27, 2024

Hey @seva100 I am facing a similar issue in this particular line
h5f = h5py.File("../data/hdf5_datasets/all_data.hdf5", "r+")
I cant find this particular dataset at all. not even in the folder you mentioned.

from optic-nerve-cnn.

seva100 avatar seva100 commented on September 27, 2024

@Geeks-Sid all_data.hdf5 is just a union of all data sets from the folder I mentioned.
For example, if you need DRIONS-DB data, you can just replace it with DRIONS-DB.hdf5

from optic-nerve-cnn.

Geeks-Sid avatar Geeks-Sid commented on September 27, 2024

@seva100 Hey, Can you explain how to create a union of all the datasets?

from optic-nerve-cnn.

seva100 avatar seva100 commented on September 27, 2024

@Geeks-Sid you can just copy items from all the datasets by something like this:

import h5py

h5f_in = h5py.File("DRIONS-DB.hdf5", "r")
h5f_out = h5py.File("all_data.hdf5", "w")
h5f_out['DRIONS-DB/orig/images'] = h5f_in['DRIONS-DB/orig/images']
... # copy all other items
h5f_in.close()
h5f_out.close()

Or you can recreate it with scripts/Organize datasets.ipynb notebook.
But I think you won't really need a union of all the datasets for the sake of replication.

from optic-nerve-cnn.

Related Issues (16)

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.