Skip to content
Snippets Groups Projects
Commit 07675025 authored by Zhang, Zhichao's avatar Zhang, Zhichao
Browse files

FIX:two times write mp4 file in testing"

parent 9b960ab4
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,6 @@ test_result_path = Path("./test_result")
if not test_result_path.exists():
test_result_path.mkdir()
with open("test.mp4", "wb") as f:
f.write(r.content)
dataset = Dataset_Video("video_dataset_1")
dataset.data = tmp_path / "test.mp4"
dataset.attrs["timestamp"] = "2022-06-13 11:22:11"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment