-
Notifications
You must be signed in to change notification settings - Fork 74
Description
TypeError: 'NoneType' object is not callable
when running
dataset = load_dataset('poloclub/diffusiondb', 'large_first_1k')
Details:
/root/miniconda3/envs/AutoDAN/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
from .autonotebook import tqdm as notebook_tqdm
TypeError Traceback (most recent call last)
Cell In[1], line 6
3 from datasets import load_dataset
5 # Load the dataset with the large_first_1k subset
----> 6 dataset = load_dataset('poloclub/diffusiondb', 'large_first_1k')
File ~/miniconda3/envs/AutoDAN/lib/python3.9/site-packages/datasets/load.py:2132, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, keep_in_memory, save_infos, revision, token, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs)
2127 verification_mode = VerificationMode(
2128 (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS
2129 )
2131 # Create a dataset builder
-> 2132 builder_instance = load_dataset_builder(
2133 path=path,
2134 name=name,
2135 data_dir=data_dir,
2136 data_files=data_files,
2137 cache_dir=cache_dir,
2138 features=features,
2139 download_config=download_config,
2140 download_mode=download_mode,
2141 revision=revision,
2142 token=token,
2143 storage_options=storage_options,
2144 trust_remote_code=trust_remote_code,
...
1903 )
1904 builder_instance._use_legacy_cache_dir_if_possible(dataset_module)
1906 return builder_instance
TypeError: 'NoneType' object is not callable
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
Dataset({
features: ['image', 'prompt', 'seed', 'step', 'cfg', 'sampler', 'width', 'height', 'user_name', 'timestamp', 'image_nsfw', 'prompt_nsfw'],
num_rows: 1000
})
a beautifull white cast futuristic biomechanical humanoid woman side portrait with pretty face in intricate detailed color smashing fluid oilpaint, melting wax, thin fractal tendrils, futuristic digital painting, cyberpunk, 8 k, hyper detailed, octane render, concept art, by peter mohrbacher, by wlop, by ruan jia