Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用recbole1.2.0自动下载知识图谱数据集ml-1m时发生错误 #2050

Open
yunshanlucky opened this issue May 17, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@yunshanlucky
Copy link

我在使用模型训练数据时,第一步会自动下载知识图谱的数据集ml-1m,发生了如下报错信息:
17 May 10:43 INFO Prepare to download dataset [ml-1m] from [https://recbole.s3-accelerate.amazonaws.com/ProcessedDatasets/MovieLens/ml-1m.zip].
17 May 10:43 INFO Downloading https://recbole.s3-accelerate.amazonaws.com/ProcessedDatasets/MovieLens/ml-1m.zip
Downloaded 0.01 GB: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:02<00:00, 3.25it/s]
17 May 10:43 INFO Extracting dataset/ml-1m/ml-1m.zip
17 May 10:43 INFO Downloading done.
Traceback (most recent call last):
File "run_kgat.py", line 9, in
run_recbole(model='KGAT', dataset='ml-1m', config_file_list=config_file_list, config_dict=parameter_dict)
File "/root/exp1/recbole/quick_start/quick_start.py", line 129, in run_recbole
dataset = create_dataset(config)
File "/root/exp1/recbole/data/utils.py", line 72, in create_dataset
dataset = dataset_class(config)
File "/root/exp1/recbole/data/dataset/kg_dataset.py", line 68, in init
super().init(config)
File "/root/exp1/recbole/data/dataset/dataset.py", line 108, in init
self._from_scratch()
File "/root/exp1/recbole/data/dataset/dataset.py", line 118, in _from_scratch
self._load_data(self.dataset_name, self.dataset_path)
File "/root/exp1/recbole/data/dataset/kg_dataset.py", line 216, in _load_data
super()._load_data(token, dataset_path)
File "/root/exp1/recbole/data/dataset/dataset.py", line 267, in _load_data
self._download()
File "/root/exp1/recbole/data/dataset/kg_dataset.py", line 191, in _download
super()._download()
File "/root/exp1/recbole/data/dataset/dataset.py", line 252, in _download
torch.distributed.barrier()
File "/root/miniconda3/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2708, in barrier
default_pg = _get_default_group()
File "/root/miniconda3/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 410, in _get_default_group
raise RuntimeError(
RuntimeError: Default process group has not been initialized, please make sure to call init_process_group.
感谢您的付出,对我帮助巨大!再次感谢

@yunshanlucky yunshanlucky added the bug Something isn't working label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants