Dear Team,
I am trying to use the toolbox, but I keep getting the error below. I am training and testing on the UBFC-rPPG dataset.
Warning: More than one faces are detected(Only cropping the biggest one.)
Process Process-2:
Traceback (most recent call last):
File "D:\Anaconda\envs\rppg-toolbox\lib\multiprocessing\process.py", line 313, in _bootstrap
self.run()
File "D:\Anaconda\envs\rppg-toolbox\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "G:\Project\Fatigue\program\rPPG-Toolbox-main\dataset\data_loader\UBFCrPPGLoader.py", line 92, in preprocess_dataset_subprocess
input_name_list, label_name_list = self.save_multi_process(frames_clips, bvps_clips, saved_filename)
File "G:\Project\Fatigue\program\rPPG-Toolbox-main\dataset\data_loader\BaseLoader.py", line 404, in save_multi_process
os.makedirs(self.cached_path, exist_ok=True)
File "D:\Anaconda\envs\rppg-toolbox\lib\os.py", line 221, in makedirs
mkdir(name, mode)
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'G:/Project/Fatigue/program/rPPG-Toolbox-main/PreprocessedData\\UBFC-rPPG_SizeW72_SizeH72_ClipLength180_DataTypeDiffNormalized_Standardized_DataAugNone_LabelTypeDiffNormalized_Crop_faceTrue_Large_boxTrue_Large_size1.5_Dyamic_DetFalse_det_len30_Median_face_boxFalse'
8%|▊ | 1/13 [00:10<02:08, 10.69s/it]Process Process-8:
Traceback (most recent call last):
File "D:\Anaconda\envs\rppg-toolbox\lib\multiprocessing\process.py", line 313, in _bootstrap
self.run()
File "D:\Anaconda\envs\rppg-toolbox\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "G:\Project\Fatigue\program\rPPG-Toolbox-main\dataset\data_loader\UBFCrPPGLoader.py", line 92, in preprocess_dataset_subprocess
input_name_list, label_name_list = self.save_multi_process(frames_clips, bvps_clips, saved_filename)
File "G:\Project\Fatigue\program\rPPG-Toolbox-main\dataset\data_loader\BaseLoader.py", line 404, in save_multi_process
os.makedirs(self.cached_path, exist_ok=True)
File "D:\Anaconda\envs\rppg-toolbox\lib\os.py", line 221, in makedirs
mkdir(name, mode)
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'G:/Project/Fatigue/program/rPPG-Toolbox-main/PreprocessedData\\UBFC-rPPG_SizeW72_SizeH72_ClipLength180_DataTypeDiffNormalized_Standardized_DataAugNone_LabelTypeDiffNormalized_Crop_faceTrue_Large_boxTrue_Large_size1.5_Dyamic_DetFalse_det_len30_Median_face_boxFalse'
Process Process-4:
YAML Configuration file
BASE: ['']
TOOLBOX_MODE: "only_test" # "train_and_test" or "only_test"
TEST:
METRICS: ['MAE','RMSE','MAPE','Pearson', 'SNR']
USE_LAST_EPOCH: True
DATA:
FS: 30
DATASET: UBFC-rPPG
DO_PREPROCESS: True # if first time, should be true
DATA_FORMAT: NDCHW
DATA_PATH: "G:/Project/Fatigue/dataset/UBFC-rPPG/RawData" # Raw dataset path, need to be updated
CACHED_PATH: "G:/Project/Fatigue/program/rPPG-Toolbox-main/PreprocessedData" # Processed dataset save path, need to be updated
EXP_DATA_NAME: ""
BEGIN: 0.0
END: 1.0
PREPROCESS:
DATA_TYPE: [ 'DiffNormalized','Standardized' ]
LABEL_TYPE: DiffNormalized
DO_CHUNK: True
CHUNK_LENGTH: 180
CROP_FACE:
DO_CROP_FACE: True
USE_LARGE_FACE_BOX: True
LARGE_BOX_COEF: 1.5
DETECTION:
DO_DYNAMIC_DETECTION: False
DYNAMIC_DETECTION_FREQUENCY : 30
USE_MEDIAN_FACE_BOX: False # This should be used ONLY if dynamic detection is used
RESIZE:
H: 72
W: 72
DEVICE: cuda:0
NUM_OF_GPU_TRAIN: 1
LOG:
PATH: runs/exp
MODEL:
DROP_RATE: 0.2
NAME: Tscan
TSCAN:
FRAME_DEPTH: 10
INFERENCE:
BATCH_SIZE: 4
EVALUATION_METHOD: FFT # "FFT" or "peak detection"
EVALUATION_WINDOW:
USE_SMALLER_WINDOW: False # Change this if you'd like an evaluation window smaller than the test video length
WINDOW_SIZE: 10 # In seconds
MODEL_PATH: "./final_model_release/PURE_TSCAN.pth"
Dear Team, I am trying to use the toolbox, but I keep getting the error below. I am training and testing on the UBFC-rPPG dataset.
YAML Configuration file