Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
diffusers
/
tools
like
10
Follow
🧨Diffusers
304
Diffusers
English
stable-diffusion
stable-diffusion-diffusers
inpainting
art
artistic
anime
absolute-realism
License:
creativeml-openrail-m
Model card
Files
Files and versions
Community
2
Use this model
cee5490
tools
/
run_if_orig.py
patrickvonplaten
up
e58dd86
over 1 year ago
raw
Copy download link
history
blame
Safe
218 Bytes
#!/usr/bin/env python3
from
deepfloyd_if.modules
import
IFStageI
from
time
import
time
start_time = time()
model = IFStageI(dir_or_name=
"/home/patrick/IF-I-IF-v1.0/"
, device=
"cuda"
)
print
(
"Time"
, time() - start_time)