Closed SM1991CODES closed 1 year ago
The code did not get formatted properly:
I got it. I did import tqdm instead of from tqtm import tqdm. Now it works.
Glad you got it figured out!
Please take a look at the other issue I face now regarding using the old convenience functions with the new Pytorch data loader. Kind of stuck and following an ugly approach right now - create both DetectionLoader and SensorLoader objects.
Hi, My datasets are at :![image](https://user-images.githubusercontent.com/69435296/236644357-8b78bb5d-b18c-44c5-ad6c-bf98cd8f2ed6.png)
Then I try this: `logging.basicConfig(level=logging.INFO) logger = logging.getLogger(name) logger.info("Starting detection data-loader example ...") root_dir = Path("/home/data/argoverse/av2/part1") data_loader = DetectionDataLoader(root_dir, dataset_name="sensor", split_name="train",) for i, sweep in enumerate(tqdm(data_loader)):
4x4 matrix representing the SE(3) transformation to city from ego-vehicle coordinates.
`
But I get an error:![image](https://user-images.githubusercontent.com/69435296/236644403-d26dec8c-132b-4728-8099-1910050a0dda.png)
Please let me know what is wrong here. I checked the tutorial and it says: root + {dataset_name} + {split_name} should end up inside one of the part folders train/ val directory. I think I am doing just that.
Best Regards Sambit