Closed rehanpunjwani closed 4 years ago
HI, can you try a relative path for the data-dir
? It’s possible that the My Drive
isn’t be escaped properly in the library.
I had the same issue and figured out the problem. The new branch uses parse_tfrecord_np_raw
in training/dataset.py
, so you will have to use create_from_images_raw
instead of create_from_images
when using dataset_tool.py
.
Thank @ahlaw , it worked!
Hey. I successfully trained some images using your StyleGAN2 collab repo but when I tried the same with Style GAN2 Augmentation notebook it gives me the following error
My dataset images are 1024x1024 and I am running the following command. I think I have some problem in preprocessing of the dataset.
!AUG_PROB=0.2 python run_training.py --num-gpus=1 --mirror-augment=True --data-dir="/content/drive/My Drive/stylegan2-aug-colab/stylegan2/datasets" --dataset=gan_data --config=config-f --res-log=8 --min-h=4 --min-w=4 --resume-pkl=$pkl --resume-kimg=$resume_kimg --augmentations=True --metrics=None
Can anyone help me what I'm doing wrong?