google-deepmind / google-deepmind/deepmind-research
dynamic_sizing fields
- 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
Assessment
This issue has not been assessed yet.