Face_segmentation icon indicating copy to clipboard operation
Face_segmentation copied to clipboard

IndexError: single positional indexer is out-of-bounds . Stuck here could you please help me out?

Open ajayraju999 opened this issue 3 years ago • 0 comments

[INFO] Generating masks... [INFO] Splitting data into train, validation and test... Traceback (most recent call last): File "/home/bl1027/face_segmentation/preprocessing/load_data.py", line 126, in main() File "/home/bl1027/face_segmentation/preprocessing/load_data.py", line 114, in main train, valid, test = split_data(train, valid, test) File "/home/bl1027/face_segmentation/preprocessing/load_data.py", line 70, in split_data group_id = splitting.iloc[celebA]['group'] File "/home/bl1027/miniconda3/envs/frp/lib/python3.6/site-packages/pandas/core/indexing.py", line 879, in getitem return self._getitem_axis(maybe_callable, axis=axis) File "/home/bl1027/miniconda3/envs/frp/lib/python3.6/site-packages/pandas/core/indexing.py", line 1496, in _getitem_axis self._validate_integer(key, axis) File "/home/bl1027/miniconda3/envs/frp/lib/python3.6/site-packages/pandas/core/indexing.py", line 1437, in _validate_integer raise IndexError("single positional indexer is out-of-bounds") IndexError: single positional indexer is out-of-bounds

ajayraju999 avatar Dec 09 '21 13:12 ajayraju999