Error running default command inference.py
Hi all, Getting below error while running the command mentioned in the usage . Please help !!
Command python scripts/inference.py --plms --outdir results --config configs/v1.yaml --ckpt checkpoints/model.ckpt --image_path examples/image/example_1.png --mask_path examples/mask/example_1.png --reference_path examples/reference/example_1.jpg --seed 321 --scale 5
Error /Paint-by-Example/scripts/inference.py - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: Error when calling Cognitive Face API: status_code: 401 code: 401 message: Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource.
[2024-05-04 18:01:36] /paintByEx/Paint-by-Example/scripts/inference.py - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: img_url:https://raw.githubusercontent.com/Microsoft/Cognitive-Face-Windows/master/Data/detection1.jpg [2024-05-04 18:01:37] /paintByEx/Paint-by-Example/scripts/inference.py - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: Error when calling Cognitive Face API: status_code: 401 code: 401 message: Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource.
[2024-05-04 18:01:37] /paintByEx/Paint-by-Example/scripts/inference.py - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: img_url:/data1/mingmingzhao/label/data_sets_teacher_1w/47017613_1510574400_out-video-jzc70f41fa6f7145b4b66738f81f082b65_f_1510574403268_t_1510575931221.flv_0001.jpg
Traceback (most recent call last):
File "//paintByEx/Paint-by-Example/scripts/inference.py", line 17, in
Note: Installed already version ldm==0.1.3
Queries why it invoking this image detection1.jpg what subscription key we need to provide "Access denied due to invalid subscription key or"
please help us on the queries