google-deepmind / google-deepmind/deepmind-research

dynamic_sizing fields

Open
#651 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.2k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Hi,

First, thanks for this repo.
I may be wrong, but for datasets `flag_dynamic_sizing` and `sphere_dynamic_sizing` (download through the `.sh` script), the `dynamic_sizing` field in the `.json` file has strange attributes:

```
"sizing_field": {
"type": "dynamic_varlen",
"shape": [
-1,
4
],
"dtype": ""
}
```

This raises a first attribute error due to the malformed `dtype`, then a second reshape error.
Modifying to:

```
"sizing_field": {
"type": "dynamic_varlen",
"shape": [
-1,
3
],
"dtype": "float32"
}
```

seems to solve the problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.