from grid.model.perception.ttc.optexp import OpticalExpansioncar = AirGenCar()# We will be capturing an image from the AirGen simulator # and run model inference on it.img = car.getImage("front_center","rgb").datamodel = OpticalExpansion(use_local =False)result = model.run(rgbimage=img)print(result.shape)
The OpticalExpansion class provides core functionality for this module.
from grid.model.perception.ttc.optexp import OpticalExpansioncar = AirGenCar()# We will be capturing an image from the AirGen simulator # and run model inference on it.img = car.getImage("front_center","rgb").datamodel = OpticalExpansion(use_local =False)result = model.run(rgbimage=img)print(result.shape)
from grid.model.perception.ttc.optexp import OpticalExpansioncar = AirGenCar()# We will be capturing an image from the AirGen simulator # and run model inference on it.img = car.getImage("front_center","rgb").datamodel = OpticalExpansion(use_local =False)result = model.run(rgbimage=img)print(result.shape)