Dear author, since I am not familiar with the training steps, after downloading the UBnorma data set locally and using your readme file to train, I found the following error:
(simclr) C:\Users\34252\Desktop\MoCoDAD-main>python train_MoCoDAD.py --config config/UBnormal/mocodad_train.yaml
Namespace(config='config/UBnormal/mocodad_train.yaml')
config/UBnormal/mocodad_train.yaml
Experiment directories created in ./checkpoints\UBnormal\train_experiment
'cp' is not an internal or external command, nor a runnable program
Or batch files.
Seed set to 999
Traceback (most recent call last):
File "C:\Users\34252\Desktop\MoCoDAD-main\train_MoCoDAD.py", line 65, in
_, train_loader, _, val_loader = get_dataset_and_loader(args, split=args.split, validation=args.validation)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\34252\Desktop\MoCoDAD-main\utils\dataset.py", line 310, in get_dataset_and_loader
dataset = PoseDatasetRobust(path_to_data=args.data_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\34252\Desktop\MoCoDAD-main\utils\dataset.py", line 223, in init
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\34252.conda\envs\simclr\Lib\site-packages\numpy\lib\npyio.py", line 999, in _read
arr = _load_from_filelike(
^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'gbk' codec can't decode byte 0xc0 in position 51: illegal multibyte sequence
I would like to know how to set up the data set structure if I only train on the ubnor data set and use the validation set to identify abnormal behavior.Looking forward to your early reply!I would be appreciated it!