Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: invalid literal for int() with base 10: '501.png\n' #7

Open
dengfenglai321 opened this issue Jan 7, 2020 · 1 comment

Comments

@dengfenglai321
Copy link

dengfenglai321 commented Jan 7, 2020

hi,
when I run the command
python main.py --c ./setting/SINet.json
there is a error:
ValueError: invalid literal for int() with base 10: '501.png\n'

my dir tree is

.self.data_dir(../Link512DATA/)
├── Nukki
│   ├── baidu_V1
│   │   ├── input
│   │   ├── target
│   │   ├── train.txt
│   │   └── val.txt
│   └── baidu_V2
│   ├── input
│   ├── target
│   ├── train.txt
│   └── val.txt
└── Portrait
└── train.txt

the Portrait's train.txt is same as the baidu_V1's train.txt

could you help me?

@HYOJINPARK
Copy link
Collaborator

HYOJINPARK commented Jan 9, 2020

Sorry for the uncomfortable code.
Could you download both datasets again?
I change the folder name for coincidence.
Does it work now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants