Skip to content

Commit

Permalink
[pre-commit.ci] Automatic python formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 25, 2024
1 parent 1ff6730 commit 506ee0c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tutorial/tuto_08_lpgd_split_measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

if False:
import os

import torch
import torchvision
import numpy as np
Expand Down Expand Up @@ -95,7 +95,7 @@

if False:
import math

from spyrit.core.meas import HadamSplit
from spyrit.core.noise import Poisson
from spyrit.core.prep import SplitPoisson
Expand Down Expand Up @@ -182,6 +182,7 @@
if os.path.exists(model_net_path) is False:
try:
import gdown

gdown.download(url_lpgd, model_net_path, quiet=False, fuzzy=True)
except:
print(f"Model not downloaded from {url_lpgd}!!!")
Expand All @@ -198,7 +199,7 @@

if False:
import matplotlib.pyplot as plt

from spyrit.misc.disp import add_colorbar, noaxis

with torch.no_grad():
Expand Down

0 comments on commit 506ee0c

Please sign in to comment.