Skip to content

Commit

Permalink
Streamline PilotNet SNN notebook with RefPorts (#37)
Browse files Browse the repository at this point in the history
* Updated readme and tutuorial links.

Signed-off-by: bamsumit <bam_sumit@hotmail.com>

* CUBA neuron normalization bug fix

Signed-off-by: bamsumit <bam_sumit@hotmail.com>

* Streamlined SNN notebook to use refports

Signed-off-by: bamsumit <bam_sumit@hotmail.com>

Co-authored-by: Marcus G K Williams <marcus.williams@intel.com>
  • Loading branch information
bamsumit and mgkwill authored Mar 2, 2022
1 parent 56099b9 commit e086551
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 72 deletions.
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.

0 comments on commit e086551

Please sign in to comment.