Skip to content

Allow complete paths and not prepend CANDLE_DATA_DIR #14

@rajeeja

Description

@rajeeja

Old ways of having a new config_file in the working directory is broken due to CDR:
setup:


(Benchmarks) ➜  ~/rBenchmarks/Pilot1/Uno (AUCstd1) ✗
$ ls uno_auc_model.txt
uno_auc_model.txt

(Benchmarks) ➜  ~/rBenchmarks/Pilot1/Uno (AUCstd1) ✗
$ echo $CANDLE_DATA_DIR
/Users/mbook/Benchmarks/Data/Pilot1/

Error:
Trying to run this:

python uno_baseline_keras2.py --config_file ./uno_auc_model.txt -e 3 --save_weights save/saved.model.weights.h5 --add_noise True


(Benchmarks) ➜  ~/rBenchmarks/Pilot1/Uno (AUCstd1) ✗
$ python uno_baseline_keras2.py --config_file ./uno_auc_model.txt -e 3 --save_weights save/saved.model.weights.h5 --add_noise True
...
  File "/opt/homebrew/anaconda3/envs/Benchmarks/lib/python3.10/site-packages/candle/parsing_utils.py", line 760, in finalize_parameters
    raise Exception(
Exception: ERROR ! Specified configuration file /Users/mbook/Benchmarks/Data/Pilot1/./uno_auc_model.txt not found ... Exiting

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions