Datasets:
image
imagewidth (px) 25
472
| person_id
stringlengths 1
5
| original_key
stringlengths 21
21
|
|---|---|---|
0
|
00004_0017_0008741_00
|
|
0
|
00004_0017_0008761_00
|
|
0
|
00004_0017_0008781_00
|
|
0
|
00004_0017_0008801_00
|
|
0
|
00004_0017_0008821_00
|
|
0
|
00004_0017_0008841_00
|
|
0
|
00004_0017_0008861_00
|
|
0
|
00004_0017_0008881_00
|
|
0
|
00004_0017_0008901_00
|
|
0
|
00004_0017_0008921_00
|
|
0
|
00004_0017_0008941_00
|
|
0
|
00004_0017_0008965_00
|
|
0
|
00004_0017_0008985_00
|
|
1
|
00004_0043_0034226_00
|
|
1
|
00004_0043_0034246_00
|
|
1
|
00004_0043_0034266_00
|
|
1
|
00004_0043_0034287_00
|
|
1
|
00004_0043_0034316_00
|
|
1
|
00004_0043_0034336_00
|
|
1
|
00004_0043_0034359_00
|
|
1
|
00004_0043_0034381_00
|
|
1
|
00004_0043_0034401_00
|
|
1
|
00004_0043_0034421_00
|
|
1
|
00004_0043_0034441_00
|
|
1
|
00004_0043_0034461_00
|
|
1
|
00004_0043_0034481_00
|
|
1
|
00004_0043_0034501_00
|
|
1
|
00004_0043_0034521_00
|
|
1
|
00004_0043_0034541_00
|
|
1
|
00004_0043_0034561_00
|
|
1
|
00004_0043_0034581_00
|
|
1
|
00004_0043_0034601_00
|
|
1
|
00004_0043_0034621_00
|
|
1
|
00004_0043_0034641_00
|
|
1
|
00004_0043_0034661_00
|
|
1
|
00004_0043_0034681_00
|
|
1
|
00004_0043_0034701_00
|
|
1
|
00004_0043_0034721_00
|
|
1
|
00004_0043_0034741_00
|
|
1
|
00004_0043_0034761_00
|
|
1
|
00004_0043_0034781_00
|
|
1
|
00004_0043_0034801_00
|
|
1
|
00004_0043_0034821_00
|
|
1
|
00004_0043_0034841_00
|
|
1
|
00004_0043_0034861_00
|
|
2
|
00004_0107_0062792_00
|
|
2
|
00004_0107_0062814_00
|
|
2
|
00004_0107_0062837_00
|
|
2
|
00004_0107_0062857_00
|
|
2
|
00004_0107_0062877_00
|
|
2
|
00004_0107_0062897_00
|
|
2
|
00004_0107_0062917_00
|
|
2
|
00004_0107_0062937_00
|
|
2
|
00004_0107_0062957_00
|
|
2
|
00004_0107_0062977_00
|
|
2
|
00004_0107_0062997_00
|
|
2
|
00004_0107_0063017_00
|
|
2
|
00004_0107_0063037_00
|
|
2
|
00004_0107_0063057_00
|
|
2
|
00004_0107_0063079_00
|
|
2
|
00004_0107_0063099_00
|
|
2
|
00004_0107_0063119_00
|
|
2
|
00004_0107_0063139_00
|
|
2
|
00004_0107_0063178_00
|
|
3
|
00004_0108_0062878_01
|
|
3
|
00004_0108_0062898_01
|
|
3
|
00004_0108_0062918_01
|
|
3
|
00004_0108_0062938_01
|
|
3
|
00004_0108_0062965_01
|
|
3
|
00004_0108_0062985_01
|
|
3
|
00004_0108_0063005_01
|
|
3
|
00004_0108_0063025_01
|
|
3
|
00004_0108_0063045_01
|
|
3
|
00004_0108_0063065_01
|
|
3
|
00004_0108_0063085_01
|
|
3
|
00004_0108_0063105_01
|
|
3
|
00004_0108_0063125_01
|
|
3
|
00004_0108_0063145_01
|
|
3
|
00004_0108_0063165_01
|
|
3
|
00004_0108_0063185_01
|
|
3
|
00004_0108_0063205_00
|
|
3
|
00004_0108_0063225_00
|
|
3
|
00004_0108_0063247_00
|
|
3
|
00004_0108_0063267_00
|
|
3
|
00004_0108_0063287_00
|
|
3
|
00004_0108_0063307_00
|
|
3
|
00004_0108_0063327_00
|
|
3
|
00004_0108_0063347_00
|
|
3
|
00004_0108_0063367_00
|
|
3
|
00004_0108_0063387_00
|
|
3
|
00004_0108_0063407_00
|
|
3
|
00004_0108_0063427_00
|
|
3
|
00004_0108_0063447_00
|
|
3
|
00004_0108_0063467_00
|
|
3
|
00004_0108_0063487_00
|
|
3
|
00004_0108_0063507_00
|
|
3
|
00004_0108_0063529_00
|
|
3
|
00004_0108_0063549_00
|
|
3
|
00004_0108_0063569_00
|
|
3
|
00004_0108_0063589_00
|
Dataset Summary
IMPORTANT NOTE dataset belongs to https://github.com/DengpanFu/LUPerson-NL , the effort here is building it from source and make it available
LUPerson-NL-Full is a large-scale dataset designed for Person Re-Identification (ReID) and computer vision tasks involving pedestrian analysis. It contains cropped images of individuals captured under various conditions.
which is typically used for pre-training deep learning models to recognize the same individual across different camera views or timeframes also can be user to pretrain an encoder to learn high quality features of humans .
- the "NL" is for noisy labels , there is 2 types of noise in this dataset
- different ids can belong to the same person ( ids 1,2,3 can all belong to the same person)
- not all the images assigned to an id belongs to it (some images of id 1 actually belong to another person of id 10 for example)
Supported Tasks and Leaderboards
- Person Re-Identification (ReID): The primary use case. Matching the
person_idacross different images. - Pedestrian Detection/Attribute Recognition: Analyzing features of pedestrians (though explicit attribute labels are not included in this specific subset, the images can be used for self-supervised learning).
- Image Classification: Classifying images based on identity.
Dataset Structure
Data Instances
The dataset is massive and is best loaded using streaming=True. Each instance represents a single cropped image of a person.
Data Fields
image: A PIL.Image object containing the cropped pedestrian image.person_id: A string representing the unique identity ID of the person. Images with the sameperson_idbelong to the same individual.original_key: A unique identifier or filename string from the original source dataset, often encoding video/frame information (e.g.,00004_0017_0008741_00).
Usage Example
Because this dataset is large, it is highly recommended to use Streaming mode (Lazy Loading) to avoid downloading the entire dataset to disk.
import datasets
import torchvision.transforms as T
from PIL import Image
# 1. Load the dataset in streaming mode
# This establishes a connection without downloading the full data
dataset = datasets.load_dataset("wahdan2003/LUPerson-NL-Full", streaming=True)
# 2. Get the first item using an iterator
first_item = next(iter(dataset['train']))
# 3. Access Metadata
print(f"Person ID: {first_item['person_id']}")
print(f"Original Key: {first_item['original_key']}")
print(f"Image Size: {first_item['image'].size}") # Output: (width, height)
# 4. Transform for PyTorch (Example)
# Define a transform pipeline (Convert to Tensor)
transforms = T.Compose([
T.ToTensor()
])
# Apply transform
image_tensor = transforms(first_item['image'])
print(f"Image Tensor Shape: {image_tensor.shape}") # Output: torch.Size([3, H, W])
print(f"Image Tensor Type: {image_tensor.dtype}") # Output: torch.float32
# 5. Save the image to inspect it
# Note: .show() might fail in some headless Linux environments, so saving is safer.
first_item['image'].save("test_image.jpg")
- Downloads last month
- 343