objaverse.load_uids() error
#26
by
HXX
- opened
uids = objaverse.load_uids()
When I use the above codes to get the uids, the following error occurs:
291 kwarg; otherwise ``JSONDecoder`` is used.
292 """
--> 293 return loads(fp.read(),
294 cls=cls, object_hook=object_hook,
...
--> 493 raise EOFError("Compressed file ended before the "
494 "end-of-stream marker was reached")
495
EOFError: Compressed file ended before the end-of-stream marker was reached
It seems that there is something wrong with json when loading files. But I cannot find the reason.
Could anybody help with me? Thanks a lot!!
I have solved it. It is because my last download was interrupted by my poor internet, so the next time something went wrong.
I delete the file in this root:
~/.objaverse/hf-objaverse-v1/
HXX
changed discussion status to
closed