We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 675d8ae commit fbd2f54Copy full SHA for fbd2f54
1 file changed
inference.py
@@ -25,8 +25,8 @@
25
img_size=64, # image size to use
26
num_random_experiments = 2, # we will perform inference multiple times on the same inputs
27
seed=42,
28
- # device="cuda:0",
29
- device="mps",
+ device="cuda" if torch.cuda.is_available() else "cpu",
+ # device="mps",
30
sampler="ddim",
31
future_frames=10, # number of future frames
32
bs=8, # how many samples
0 commit comments