Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline PilotNet SNN notebook with RefPorts #37

Merged
merged 10 commits into from
Mar 2, 2022
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions tutorials/lava/lib/dl/netx/pilotnet_snn/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def __getitem__(self, index: int) -> Tuple[np.ndarray, float]:
+ float(self.samples[index + 1][1])
) / 2
gt_val = ground_truth * np.pi / 180
print(f'\rSample: {index}', end='')
return image, gt_val

def __len__(self) -> int:
Expand Down
157 changes: 85 additions & 72 deletions tutorials/lava/lib/dl/netx/pilotnet_snn/run.ipynb

Large diffs are not rendered by default.