---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-1599bc6e80ec> in <cell line: 4>()
2 import codecs
3 from pprint import pprint
----> 4 from datasets import load_dataset
5
6 # サンプルデータが保存されているパス
ModuleNotFoundError: No module named 'datasets'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-df8f1ea99b0d> in <cell line: 4>()
2
3 import torch
----> 4 from datasets import load_dataset
5 from torch.utils.data import Dataset
6 from tqdm import tqdm
ModuleNotFoundError: No module named 'datasets'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-4-8d1b9ad2b097> in <cell line: 2>()
1 # データセットペア取得
----> 2 pairs = create_comparison_dataset_ls(data_path)
3 pprint(pairs[0])
NameError: name 'create_comparison_dataset_ls' is not defined
ModuleNotFoundError python(41) error(138)
Last updated at Posted at 2024-10-10
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme