Comments (5)
Thank you for the report !
Funny that you hit a recursion limit when trying to encode the data. I think it is because the dataset has a dtype we did not account for.
Could you tell us what is the dtype of the dataset you are trying to open ? Or, even better, could you provide us with the problematic file so we can test it out ourselves ? You can scrap other datasets to keep only the problematic one if you wish.
from jupyterlab-h5web.
Hi!
Thank you very much! If you don't mind, is there something you can say for me to further understand this error? I'd love to know what led to this and where the problem lied in further detail!
Yes, I apologize for the delay. I had to go back into my scripts and re-create something that was a lot smaller b/c the files I was looking at were ~76GB. Actually, the h5web extension didn't work with any of them. Here is a link for the file I've just uploaded for you!
Thank you very much!
from jupyterlab-h5web.
Great, thanks for the file : I think I was able to pinpoint the issue.
If you don't mind, is there something you can say for me to further understand this error? I'd love to know what led to this and where the problem lied in further detail!
Sure. As I suspected, this is linked to the data type (or dtype for short) used to save the data.
In your file, the datasets called features
are saved using float128
which is not supported by h5web yet. You can check the data type in the Inspect
tab, under Type:
Now to solve the issue, we will have to bring support for float128
datasets in jupyterlab-h5web.
However, if you have control over your saving process, the quickest way to solve the problem would be to save the data using float64
.
For example, this dataset features_64
(created from your features
dataset but converted to float64
) can be visualized just fine:
from jupyterlab-h5web.
This will be fixed in next release (landing this week or the next). float128
are now converted to float64
for JSON serialization.
from jupyterlab-h5web.
Understood! Thank you very much!
from jupyterlab-h5web.
Related Issues (20)
- jupyterlab_h5web is installable through conda-forge HOT 2
- Using file-like objects to open HDF files HOT 5
- Jupyter-lab is not giving the graphical display but just showing the object HOT 3
- Error 500 HOT 3
- Custom selection of dimensions to be plotted HOT 2
- Implement search
- Opening Virtual Datasets raises error: "Request failed with status code 500" HOT 8
- 0.0.8 not compatible with Jupyter Lab 3.1.x
- [jupyterlab] [esrf] [jupyter-slurm] very slow reading and broken `.h5`? HOT 6
- [Heatmap] Dark mode inverts colormap HOT 2
- Widget dissapears immediately HOT 5
- Slashes in .h5 paths are converted to escaped backslashes HOT 2
- The extension is incompatible with h5grove latest release (0.0.9)
- Enter key presses are intercepted for all filebrowser operations (e.g. renaming and deleting)
- When doing a develop install, R3F visualisations freeze the browser HOT 3
- Crashes reading a large file HOT 6
- Ordinate axis appears stretched out in Chrome HOT 8
- Customize colors of 2D plots in H5Web cell HOT 5
- h5web-in-cell css style height HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-h5web.