You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1、
line 8 s_label = 'CelebAMask-HQ-label'
this s_label in g_mask.py generate
2、
line 33 image_list = pd.read_csv('CelebA-HQ-to-CelebA-mapping.txt', delim_whitespace=True, header=None)
the mapping.txt has title header, so just use the header default parameter is ok
the correct use:
image_list = pd.read_csv('CelebA-HQ-to-CelebA-mapping.txt', delim_whitespace=True)
3、
line 38 for idx, x in enumerate(image_list.loc[:, 1]):
it has a error.
The proper way is for idx, x in enumerate(image_list.loc[:1]):
but it not end
image_list.loc[:1] just has two line, and the content is incorrect
the right way to use is as below: for idx, x in enumerate(image_list.loc[:, 'orig_idx']):
The above is the problem I encountered during the usage and the solution. If there are any errors, please kindly forgive me.
The text was updated successfully, but these errors were encountered:
1、
line 8
s_label = 'CelebAMask-HQ-label'
this s_label in g_mask.py generate
2、
line 33
image_list = pd.read_csv('CelebA-HQ-to-CelebA-mapping.txt', delim_whitespace=True, header=None)
the mapping.txt has title header, so just use the header default parameter is ok
the correct use:
image_list = pd.read_csv('CelebA-HQ-to-CelebA-mapping.txt', delim_whitespace=True)
3、
line 38
for idx, x in enumerate(image_list.loc[:, 1]):
it has a error.
The proper way is
for idx, x in enumerate(image_list.loc[:1]):
but it not end
image_list.loc[:1] just has two line, and the content is incorrect
the right way to use is as below:
for idx, x in enumerate(image_list.loc[:, 'orig_idx']):
The above is the problem I encountered during the usage and the solution. If there are any errors, please kindly forgive me.
The text was updated successfully, but these errors were encountered: