google-deepmind / google-deepmind/torch-hdf5

attempt to call method 'partial' (a nil value)

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
241
Forks
125
PR merge metrics
No merged PRs in 30d

Description

I created a hdf5 contains multiple datasets. I'm trying to access some of those with `file:read():partial()`, but it gave me `attempt to call method 'partial' (a nil value)` error.

I think I have installed the correct version of torch-hdf5, since `file:open()` works fine. Any suggestions on how to solve this?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error with a multi-dataset HDF5 file and the reported `file:read():partial()` call, then inspect the read API and the behavior of `file:open()`. Done means determining why `partial` is unavailable in this case and either restoring the expected access or documenting the supported usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.