Update README.md
Browse files
README.md
CHANGED
@@ -18,4 +18,9 @@ occ_flow = np.ones((W*H*Z, 2)) * pad_value # pad_value could be zero
|
|
18 |
sparse_flow = np.fromfile(data_path + '.bin', dtype=np.float16).reshape(-1, 3)[:, :2]
|
19 |
sparse_idx = np.fromfile(data_path + '_idx.bin', dtype=np.int32).reshape(-1)
|
20 |
occ_flow[sparse_idx] = sparse_flow
|
21 |
-
occ_flow = occ_flow.reshape(W, H, Z, 2)
|
|
|
|
|
|
|
|
|
|
|
|
18 |
sparse_flow = np.fromfile(data_path + '.bin', dtype=np.float16).reshape(-1, 3)[:, :2]
|
19 |
sparse_idx = np.fromfile(data_path + '_idx.bin', dtype=np.int32).reshape(-1)
|
20 |
occ_flow[sparse_idx] = sparse_flow
|
21 |
+
occ_flow = occ_flow.reshape(W, H, Z, 2)
|
22 |
+
|
23 |
+
|
24 |
+
<div align="center">
|
25 |
+
<img src="https://huggingface.co/viewformer/ViewFormer-Occ/blob/main/FlowOcc3D.png" width="800"/>
|
26 |
+
</div><br/>
|