Spaces:
Runtime error
Runtime error
util2.py
CHANGED
|
@@ -15,7 +15,7 @@ import torch.nn as nn
|
|
| 15 |
import numpy as np
|
| 16 |
from einops import repeat
|
| 17 |
|
| 18 |
-
from
|
| 19 |
|
| 20 |
|
| 21 |
def make_beta_schedule(schedule, n_timestep, linear_start=1e-4, linear_end=2e-2, cosine_s=8e-3):
|
|
|
|
| 15 |
import numpy as np
|
| 16 |
from einops import repeat
|
| 17 |
|
| 18 |
+
from util import instantiate_from_config
|
| 19 |
|
| 20 |
|
| 21 |
def make_beta_schedule(schedule, n_timestep, linear_start=1e-4, linear_end=2e-2, cosine_s=8e-3):
|