error: the following arguments are required: -p/--shape_predictor_68_face_landmarks.dat, -i/--Image.jpeg
时间: 2023-09-11 21:04:21 浏览: 53
这个错误提示是因为你运行的命令缺少必要的参数。其中 `-p/--shape_predictor_68_face_landmarks.dat` 是一个人脸关键点检测器的模型文件路径,`-i/--Image.jpeg` 是需要进行人脸关键点检测的图像文件路径。你需要在运行命令时指定这两个参数,例如:
```
python detect_face_landmarks.py -p shape_predictor_68_face_landmarks.dat -i Image.jpeg
```
其中 `shape_predictor_68_face_landmarks.dat` 和 `Image.jpeg` 需要替换为你实际使用的文件路径。
相关问题
train_segmentation.py: error: the following arguments are required: --dataset
这个错误提示表明在执行 train_segmentation.py 脚本时,需要传入一个参数 --dataset,但是你没有提供该参数。你需要在执行命令时加上该参数并指定相应的数据集名称,例如:
```
python train_segmentation.py --dataset my_dataset
```
其中,my_dataset 是你实际使用的数据集名称。请注意,具体的参数名称和取值可能会因你的具体应用而有所不同。
main_informer.py: error: the following arguments are required: --model, --data
这个错误提示是指在运行 main_informer.py 文件时,缺少了必要的参数 --model 和 --data。这两个参数是必须的,因为它们指定了要使用的模型和数据集。
你可以在运行 main_informer.py 文件时添加这两个参数,例如:
```
python main_informer.py --model my_model --data my_data
```
其中,my_model 是你想要使用的模型名称,my_data 是你想要使用的数据集名称。请注意,这些名称应该与你实际拥有的模型和数据集名称相对应。