Add full online Phase1 Phase2 final graph extraction pipeline
Browse files- extractors/README.md +10 -3
extractors/README.md
CHANGED
|
@@ -1,19 +1,26 @@
|
|
| 1 |
# GWAM graph extractors
|
| 2 |
|
| 3 |
-
Use this folder when you want to construct GWAM graphs from
|
| 4 |
|
| 5 |
-
Main
|
| 6 |
|
| 7 |
```text
|
| 8 |
extractors/gwam_realtime_env_graph.py
|
| 9 |
```
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
```text
|
| 14 |
realtime/gwam_realtime_env_graph.py
|
| 15 |
```
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
Full guide:
|
| 18 |
|
| 19 |
```text
|
|
|
|
| 1 |
# GWAM graph extractors
|
| 2 |
|
| 3 |
+
Use this folder when you want to construct final GWAM graphs from a live environment rather than load an already packaged episode ZIP.
|
| 4 |
|
| 5 |
+
Main compatibility wrapper:
|
| 6 |
|
| 7 |
```text
|
| 8 |
extractors/gwam_realtime_env_graph.py
|
| 9 |
```
|
| 10 |
|
| 11 |
+
It re-exports the implementation from:
|
| 12 |
|
| 13 |
```text
|
| 14 |
realtime/gwam_realtime_env_graph.py
|
| 15 |
```
|
| 16 |
|
| 17 |
+
The public final-graph path is:
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
snapshot = extractor.extract_final_graph(visual_backend=Sam2ClipRealtimeFeatureBackend(...))
|
| 21 |
+
graph = snapshot["gnn_graph"] # [N_real,342] by default
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
Full guide:
|
| 25 |
|
| 26 |
```text
|