switchablenorms / CelebAMask-HQ

A large-scale face dataset for face parsing, recognition, generation and editing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

g_partition.py

diaodeyi opened this issue · comments

➜ Data_preprocessing git:(master) ✗ python g_partition.py
0 orig_idx
Traceback (most recent call last):
File "g_partition.py", line 40, in
if x >= 162771 and x < 182638:
TypeError: '>=' not supported between instances of 'str' and 'int'

Have you solved the problem? Can you tell me how?
Many thanks!