Comments (2)
@waooog
Thanks for reporting this issue.
In current code, NPE should never happen since we never put empty list into metrics.
But I agree we should guard empty list case for custom metrics. And your suggestion is a good improvement.
Would you mind submit a PR to address this issue?
from djl.
Fix has be merged: f264cf8
from djl.
Related Issues (20)
- [Enhancement or Bug?] HuggingFaceTokenizer should read config from tokenizer_config.json also
- Add NDArray meshgrid, delete and diff HOT 1
- PaddleOCR - The JVM memory is not released HOT 2
- JVM内存没有释放 HOT 14
- Updating Quarkus extension for DJL HOT 2
- Unsupported device: nc(0) HOT 7
- LlamaTokenizer support HOT 5
- How to fix CVE-2022-24294 and CVE-2018-1281 HOT 1
- Unable to query engine in offline mode to ask user whether to download HOT 10
- Failed to load MXNet native library HOT 1
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! HOT 2
- Error when load Pytorch HOT 2
- Should not download same files everytime HOT 2
- Maven central has pytorch-native-cpu 2.1.1 but no JNI binding exists for this version HOT 4
- YoloV8Translator performance is not suitable for real-time applications HOT 4
- pytorch multi classification problems Inconsistent results
- Hopefully PaddlePaddle will keep it up to date!
- Does DJL support cuda 12.3.1? HOT 30
- `native_jni_s3_pytorch_android` task failing due to missing artifacts
- Support GLIBCXX_3.4.20 in aarch64 pytorch native HOT 11
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 djl.