Install & Compatibility
Where this runs
tested against v1.1.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.910 runs
build_error
glibcpy 3.10–3.910 runs
installs and imports cleanly · install 11.5s · import 0.000s · 346MB
350MB installed
● package 350MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
RF100VL
✓ from rf100vl import roboflow100vl
✗ from rf100vl.rf100vl import RF100VL
download_rf100vl
✓ from rf100vl import download_rf100vl
get_rf100vl_projects
✓ from rf100vl import get_rf100vl_projects
This quickstart demonstrates how to initialize the `RF100VL` dataset, automatically downloading it to a specified `root_dir` if it's not already present. It then shows how to access an individual item, which provides a PIL Image and its corresponding text caption.
import os
from rf100vl.rf100vl import RF100VL
# Define a directory for the dataset; it will be created if it doesn't exist.
# Using an environment variable or a default path for flexibility.
data_root = os.environ.get('RF100VL_DATA_ROOT', './rf100vl_data')
os.makedirs(data_root, exist_ok=True)
try:
# Initialize the dataset. Set download=True to fetch if not present.
# This can take significant time and disk space.
dataset = RF100VL(root_dir=data_root, split='train', download=True)
print(f"\nSuccessfully loaded RF100VL dataset with {len(dataset)} items in '{data_root}'.")
# Access a sample item (e.g., the first one)
sample_item = dataset[0]
image = sample_item['image'] # A PIL Image object
caption = sample_item['caption'] # A string caption
print(f"\nFirst item details:")
print(f" Caption: '{caption[:100]}...' ")
print(f" Image type: {type(image)}, size: {image.size}, mode: {image.mode}")
# Further processing (e.g., transforming image, tokenizing caption) would go here.
except Exception as e:
print(f"\nAn error occurred during dataset initialization or access: {e}")
print("Please ensure you have network access, sufficient disk space, and correct permissions for the data_root directory.")
Upgrade
Version history
1.1.2latest on PyPI · released May 23, 2026
Audit
Dependencies
requestsrequiredHandles secure downloading of dataset files from remote servers.
numpyrequiredUsed for numerical operations, common in data processing tasks.
tqdmrequiredProvides progress bars for dataset download and processing, enhancing user experience.