haixuanTao
c82c853d02
Download weights inside of dora to bypass yolov8 windows error
Being able to download a file within a yaml declaration can later be integrated as a yaml feature.
See: https://github.com/ultralytics/ultralytics/pull/7432#issuecomment-1883383862
2 years ago
haixuanTao
8b7cf8ebb9
convert to cpu object detection output
2 years ago
haixuanTao
f3cd7725ed
Replace yolov5 with yolov8
2 years ago
haixuanTao
3698ca0867
Remove dora-record from operator dataflow
2 years ago
haixuanTao
5a187f5ba9
Reload only if on windows
2 years ago
haixuanTao
3ad740a65c
bump to latest version of torch
2 years ago
haixuanTao
ed83fe05c1
Fix pip upgrade
2 years ago
haixuanTao
afcfec81f1
Fix path by using ; instead of :
2 years ago
haixuanTao
20c02089b6
Fix Python CI on windows
2 years ago
haixuanTao
0a60246038
Make `run` a helper function and use OsStr to search for path
2 years ago
haixuanTao
a2de951d98
Remove setup tracing from examples to make it more simple
2 years ago
haixuanTao
9413e4f198
Rename `../.env` to `.env` as it seems to create path issues
2 years ago
haixuanTao
68ecf89b61
Remove explicit statement to `python3`and resolve it instead
2 years ago
haixuanTao
ea86909380
Remove plot match statement
2 years ago
haixuanTao
2a165ab457
Replace typo `INPUT` to `STOP`
2 years ago
haixuanTao
4566223f58
Removing `match` statement with `if-else` as many people still uses <python 3.10 😭
2 years ago
haixuanTao
976f013cc9
Remove type hinting as it might mess up with old python version
Simplify operator template and remove type hinting
2 years ago
Philipp Oppermann
242513fd72
Start fixing Python dataflow example
2 years ago
Philipp Oppermann
631019f8d3
Fix some clippy warnings
2 years ago
haixuanTao
942d0a5df2
Use `run.rs` instead of `run.sh`for better cross-platform usage
2 years ago
haixuanTao
27ccf614ba
Small refactoring using `black`
2 years ago
haixuanTao
2f62eabc20
Removing `no_webcam.py` and relying on default error image for the CI
2 years ago
haixuanTao
4d927bd169
Refactoring `run.sh` to make it more readable
2 years ago
haixuanTao
8267cd2ff8
Linking `python-dataflow` example venv to `python-operator-dataflow` venv`
2 years ago
haixuanTao
a6c6fcd1b6
Force pytorch to use cpu only for smaller disk space usage for the CI
2 years ago
meua
84041868b7
For consistency with other examples, modify python -> python3
2 years ago
meua
a809be8f83
Remove useless commands.
2 years ago
navyjia
a7bc6f3902
fix bug for issues: https://github.com/dora-rs/dora/issues/295
2 years ago
haixuanTao
e359b70b6e
Fix yolov5 dependency issue
2 years ago
Philipp Oppermann
72a57ce1ef
Remove deprecated `communication` options from dataflow examples, templates, and docs
2 years ago
Philipp Oppermann
e31c6a0c11
Improve output of object detection example node
2 years ago
haixuanTao
7be958ee66
Upate webcam operator example to make use of opentelemetry jaeger
2 years ago
Philipp Oppermann
2d9fcc95b4
Add custom parsing to be backwards compatible
Inputs can now either be a string, which results in a mapping with default values, or an object with additional configuration.
2 years ago
Philipp Oppermann
c9ecc87d3b
Rename `max_queue_len` to `queue_size`
2 years ago
Philipp Oppermann
8c55397811
Make event queue length configurable
2 years ago
Haixuan Xavier Tao
4a026e0e11
Merge pull request #203 from dora-rs/fix-zenoh
Update zenoh to remove git dependencies
2 years ago
haixuanTao
764cd120a4
remove slash from zenoh prefix
2 years ago
haixuanTao
88ea9cff74
Update example readme
2 years ago
Philipp Oppermann
28ae686fe4
Remove sleep between events in python examples
2 years ago
Philipp Oppermann
1e07a73a64
Merge branch 'main' into unify-nodes-and-operators
2 years ago
Philipp Oppermann
3b79e4cca0
Fix: Don't ignore errors in `run.sh` of Python example
3 years ago
haixuanTao
9f66ac1706
Remove self defined `DoraStatus` in example
3 years ago
haixuanTao
5ad69cda87
Update requirements and fix `malloc` in plot
3 years ago
Philipp Oppermann
352fb3d757
Change Python event types to uppercase
3 years ago
Philipp Oppermann
5666895a7c
Close event channel when last input is closed or when stop is received
3 years ago
Philipp Oppermann
c5db53a4c6
Update Python dataflow example for new daemon API
3 years ago
haixuanTao
294990e307
Make `stop_thread` not borrow `communication` for static
3 years ago
haixuanTao
e7172bec8f
refactor debugging change
3 years ago
haixuanTao
9f0a0e6957
Fix GIL race condition
By making the stopping loop the first loop, we can avoid using `pyo3/allow_threads`, which
seems buggy.
3 years ago
haixuanTao
992b8251c2
DRAFT: Fixing Python linking error
This commit is an initial draft at fixing #147 . The error is due to the
fact that pyo3 has linked the libpython from the compilation and not
trying to use libpython that is available in `LD_LIBRARY_PATH`.
The current only solution to disable the linking is to use the `extension-module` flag.
This requires to make the python `runtime-node` packaged in a python library.
The python `runtime-node` should also be fully compatible with the other operators in case we want hybrid runtime.
The issue that i'm facing is that. Due to the packaging, I have to deal with the `GIL` that is present from the start of
`dora-runtime` node. This however makes the process single threaded wich is impossible.
So, I have to disable it, but when I do, I have a race condition:
```bash
Exception ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 1373, in _shutdown
assert tlock.locked()
AssertionError:
```
The issue is the same as https://github.com/PyO3/pyo3/issues/1274
To fix this issue, I'm going to look again at the different step to make this work.
But this is my current investigation.
3 years ago