Skip to content

Just update in the plotting method #9

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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