Skip to content

Commit

Permalink
Just update in the plotting method
Browse files Browse the repository at this point in the history
  • Loading branch information
lrm22005 committed Nov 27, 2023
1 parent b3b4b4d commit ad734c6
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 ad734c6

Please sign in to comment.