Skip to content

Commit

Permalink
Fix debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
kvablack committed Dec 13, 2023
1 parent 44e6c63 commit b6d504e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/debug_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
from copy import deepcopy

from ml_collections import ConfigDict
from scripts.configs.config import get_config as get_base_config
import imp
import os

get_base_config = imp.load_source(
"config", os.path.join(os.path.dirname(__file__), "../scripts/configs/config.py")
).get_config


def update_config(config: ConfigDict, **kwargs):
Expand Down

0 comments on commit b6d504e

Please sign in to comment.