-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in ut init #62
Comments
System: windows10 2024/04/07 13:31:06 | INFO | Entry script args dump: {'script': 'init', 'project_dir': './', 'log_dir': 'logs', 'log_level': 'INFO', 'seed': None} 2024/04/07 13:31:06 | INFO | Project directory set: C:\Users\xxa\Desktop\U-Time-main\U-Time-main (initialized project: False) 2024/04/07 13:31:07 | INFO | Logs will not be saved to file for these loggers: [<Logger utime (INFO)>, <Logger psg_utils (INFO)>] (--log_file_name is empty) 2024/04/07 13:31:07 | INFO | Initializing project in project folder: C:\Users\xxa\Desktop\U-Time-main\U-Time-main\demo (model preset: 'usleep_demo') |
FileNotFoundError: [Errno 2] No such file or directory: 'C:\dataset_configurations\dcsm.yaml' |
Hi~I encountered the following error during model initialization
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "E:\anaconda\envs\u-sleep\Scripts\ut.exe_main.py", line 7, in
File "E:\anaconda\envs\u-sleep\Lib\site-packages\utime\bin\ut.py", line 103, in entry_func
mod.entry_func(script_args + help_agrs)
File "E:\anaconda\envs\u-sleep\Lib\site-packages\utime\bin\init.py", line 133, in entry_func
run(parser.parse_args(args))
File "E:\anaconda\envs\u-sleep\Lib\site-packages\utime\bin\init.py", line 127, in run
init_project_folder(default_folder, args.model, out_folder, data_dir)
File "E:\anaconda\envs\u-sleep\Lib\site-packages\utime\bin\init.py", line 102, in init_project_folder
copy_yaml_and_set_data_dirs(in_file_path, out_file_path, data_dir)
File "E:\anaconda\envs\u-sleep\Lib\site-packages\utime\bin\init.py", line 62, in copy_yaml_and_set_data_dirs
hparams = YAMLHParams(in_path, no_version_control=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\anaconda\envs\u-sleep\Lib\site-packages\utime\hyperparameters_init.py", line 125, in init
super(YAMLHParams, self).init(yaml_path,
File "E:\anaconda\envs\u-sleep\Lib\site-packages\yamlhparams\yaml_hparams.py", line 52, in init
temp_map = YAML(typ='rt').load(in_f)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\anaconda\envs\u-sleep\Lib\site-packages\ruamel\yaml\main.py", line 432, in load
constructor, parser = self.get_constructor_parser(stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\anaconda\envs\u-sleep\Lib\site-packages\ruamel\yaml\main.py", line 483, in get_constructor_parser
self.reader.stream = stream
^^^^^^^^^^^^^^^^^^
File "E:\anaconda\envs\u-sleep\Lib\site-packages\ruamel\yaml\reader.py", line 133, in stream
self.determine_encoding()
File "E:\anaconda\envs\u-sleep\Lib\site-packages\ruamel\yaml\reader.py", line 193, in determine_encoding
self.update_raw()
File "E:\anaconda\envs\u-sleep\Lib\site-packages\ruamel\yaml\reader.py", line 288, in update_raw
data = self.stream.read(size)
^^^^^^^^^^^^^^^^^^^^^^
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 650: invalid start byte
The text was updated successfully, but these errors were encountered: