MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / test_raw_reading

Function test_raw_reading

SwissArmyTransformer/tests/test_read_img.py:8–13  ·  view source on GitHub ↗
(webds)

Source from the content-addressed store, hash-verified

6import numpy as np
7
8def test_raw_reading(webds):
9 it = iter(webds)
10 t = time.time()
11 for i in range(2048):
12 tmp = next(it)['jpg']
13 print("Raw: Time to read 2048 images: ", time.time() - t)
14
15def test_jpg_reading(webds):
16 it = iter(webds)

Callers

nothing calls this directly

Calls 1

printFunction · 0.50

Tested by

no test coverage detected