Comments (3)
Hi @kevin-vitro,
This is almost certainly an actual invalidity in the JSON, or possibly a character encoding problem, given the error.
Currently, we've set multi CPU approaches off, as the error output we get from these when something does go wrong isn't what we'd like, and we have plans to implement a better version in future.
In the current version you should find the use_multi_cpu
flag defaults to False
from darwin-py.
Yeah, I was able to figure that out, but it doesn't say which JSON is invalid so I had to do extra digging. My thought is that if we have an error raised doing this, it would be nice to have some idea which JSON file is bad in the list of N files.
from darwin-py.
You're right, and our plan is to implement better error reporting on the multiprocessing once we work on a new major refactor - the need for pickled functions obscures error output more than I'd like.
In the meantime, I'd try a simple script with a json.loads
on the file you're trying to load, or putting the file into a JSON validator to source problems in it. IIRC, jq
CLI tool can do this.
from darwin-py.
Related Issues (20)
- Python 3.7 compatibility broken HOT 1
- CLI Image pulling - big issue on Ubuntu HOT 3
- unexpected behavior of consecutive use of RemoteDataset.pull() with use_folders=True HOT 3
- Bug: image naming HOT 1
- How to use Python code to convert the color map of an image into paired like v7 annotation platform on web? HOT 1
- python 3.11 support HOT 4
- pillow 10.x support HOT 3
- Issue with importing COCO format segmentations HOT 1
- Got " ITEM_COUNT_LIMIT_EXCEEDED" when there's no file in my V7 repository HOT 1
- version missing in dataset.get_release(version) NotFound exception HOT 2
- darwin authenticate cli arguments HOT 4
- Coco import missing "extra" info in annotations HOT 2
- test issue for linear sync HOT 1
- Missing option to set export folder when using pull HOT 6
- Pulling an export is slow HOT 2
- breaking changes introduced in patch semantic increment HOT 2
- ValidationError : 1 validation error for SelectedProperty frame_index HOT 2
- New metadata.json breaking annotation pulling HOT 2
- Cannot get remote dataset with uppercase name HOT 5
- ModuleNotFoundError: No module named 'tenacity.asyncio' HOT 3
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 darwin-py.