Skip to content

Instantly share code, notes, and snippets.

@aalavian
Created January 26, 2022 22:01
Show Gist options
  • Save aalavian/f6103c48160ed25ef6a35597fe5d032c to your computer and use it in GitHub Desktop.
Save aalavian/f6103c48160ed25ef6a35597fe5d032c to your computer and use it in GitHub Desktop.
Sample Reader Snapshot attachment for Medium post!
dataset = S3Dataset("dataset_name", "0.0.1")
sample = self.dataset[idx] # get sample
sample_video = sample["video"] # get the scene of predicted and target trajectories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment