use Path.cwd() instead of odd parent.parent.parent structure
This commit is contained in:
parent
b8704e12b7
commit
49b95fe008
@ -55,7 +55,7 @@ class HyperOptResolver(IResolver):
|
|||||||
current_path = Path(__file__).parent.parent.joinpath('optimize').resolve()
|
current_path = Path(__file__).parent.parent.joinpath('optimize').resolve()
|
||||||
|
|
||||||
abs_paths = [
|
abs_paths = [
|
||||||
current_path.parent.parent.joinpath('user_data/hyperopts'),
|
Path.cwd().joinpath('user_data/hyperopts'),
|
||||||
current_path,
|
current_path,
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ class HyperOptLossResolver(IResolver):
|
|||||||
current_path = Path(__file__).parent.parent.joinpath('optimize').resolve()
|
current_path = Path(__file__).parent.parent.joinpath('optimize').resolve()
|
||||||
|
|
||||||
abs_paths = [
|
abs_paths = [
|
||||||
current_path.parent.parent.joinpath('user_data/hyperopts'),
|
Path.cwd().joinpath('user_data/hyperopts'),
|
||||||
current_path,
|
current_path,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user