Skip to content

Problem with outpainting #8

@TomFrank0217

Description

@TomFrank0217

When i try to do outpainting.

  1. CUDA_VISIBLE_DEVICES="0" python test.py --model-config="./configs/model/InfinityGAN.yaml" --test-config="./configs/test/inversion_256x256_L2R.yaml"
  2. CUDA_VISIBLE_DEVICES="0" python test.py --model-config="./configs/model/InfinityGAN.yaml" --test-config="./configs/test/outpaint_with_fused_gen_256x256.yaml" --inv-records="./logs/InfinityGAN/test/outpaint_with_fused_gen_256x256/stats/.pkl" --inv-placements=0.5,0.25
    When I submit the second instruction, there is no pkl in the folder ./logs/InfinityGAN/test/outpaint_with_fused_gen_256x256/stats/.
    I don't know where is the pkl file. I find that there is a pkl file ("./logs/Infi nityGAN/test/inversion_256x256_L2R/stats/000000.pkl") in another folder, Is this the expected file?
    I copy the file from /logs/Infi nityGAN/test/inversion_256x256_L2R/stats/ to "./logs/InfinityGAN/test/outpaint_with_fused_gen_256x256/stats/.
    But finally, the bug is as follows. File"/home/hanzhifan/infinityGAN/test_managers/testing_vars_wrapper.py", line 271, in replace_by_records assert inv_img_st_loc_x >= 0 and inv_img_st_loc_y >= 0,
    AssertionError: Top-left corner of intended image exceeds image boundary. Got (-25, -1).

Could u help me solve this problem?
1.where is the correct pkl file?
2.if the pkl file is correct? how to solve the second question?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions