APDrawingGAN icon indicating copy to clipboard operation
APDrawingGAN copied to clipboard

How to generate a new landmark txt file for a new photo?

Open wujoho opened this issue 2 years ago • 3 comments

I put a new photo test.png in folder dataset\data\test_single, run the command: python test.py --dataroot dataset/data/test_single --name formal_author --model test --dataset_mode single --norm batch --use_local --which_epoch 300 --gpu_ids -1 got the below error:

FileNotFoundError: [Errno 2] No such file or directory: 'dataset/landmark/ALL\test.txt'

How to generate a new landmark txt file for this new photo?

wujoho avatar Oct 14 '22 00:10 wujoho

Did you got an answer ?

feitgemel avatar Jun 01 '23 12:06 feitgemel

Hi, Can you elaborate what are those txt files inside the Landmark folder? How can I generate a file for my one image ?

I took a fresh image, convert it to 512X15 , and created a mask for the head. How to generate this landmark txt file ?

Eran

feitgemel avatar Jun 01 '23 12:06 feitgemel

No, I am using Windows OS, and one of the prerequisites is using Linux or macOS, so could be my environment issue

wujoho avatar Jun 04 '23 04:06 wujoho