ImageFolder.pop

ImageFolder.pop(name=- 1, default=None)

Return and remove either a subgroup or named object from this folder.