Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
DSaurus committed Dec 27, 2023
1 parent 1ea7a86 commit 56ef39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threestudio/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def C(value: Any, epoch: int, global_step: int, interpolation="linear") -> float
value = [start_step, start_value, end_value, end_step]
assert len(value) == 4
start_step, start_value, end_value, end_step = value
if isinstance(end_step, int) or isinstance(end_step, float):
if isinstance(end_step, int):
current_step = global_step
elif isinstance(end_step, float):
current_step = epoch
Expand Down

0 comments on commit 56ef39f

Please sign in to comment.