Skip to content

Commit

Permalink
Merge pull request #9 from lrm22005/Luis
Browse files Browse the repository at this point in the history
Just update in the plotting method
  • Loading branch information
lrm22005 committed Nov 27, 2023
2 parents 4b44afa + ad734c6 commit 74bc620
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions project_NVIL.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,21 +216,6 @@ def imshow(image, ax=None, title=None, normalize=True):




fig, axes = plt.subplots(figsize=(20,15), ncols=6)

for i, batch in enumerate(train_loader):
images, label, names = batch["data"], batch["label"], batch["segment_name"]
ax = axes[i]
# helper.imshow(images[ii], ax=ax, normalize=False)
imshow(images[i], ax=ax, normalize=False)
if i==6:
break





class PriorNet(nn.Module):
"""
An NN that parameterises a prior distribution.
Expand Down

0 comments on commit 74bc620

Please sign in to comment.