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

Error when trying to reproduce the results #1

Open
celsofranssa opened this issue Nov 21, 2022 · 0 comments
Open

Error when trying to reproduce the results #1

celsofranssa opened this issue Nov 21, 2022 · 0 comments

Comments

@celsofranssa
Copy link

Hello,

I'm trying to reproduce your experiments following the README.md instructions.
However, I've got stuck when running python run_fpdgd.py.

(federated) celso@sumatra:~/projects/fpdgd-ictir2021/runs$ python run_fpdgd.py 
num tasks: 15
num cpus: 15
no cache found for ../datasets/MQ2007/Fold1/train.txt
Loading ../datasets/MQ2007/Fold1/train.txt......
no cache found for ../datasets/MQ2007/Fold1/train.txt
no cache found for ../datasets/MQ2007/Fold1/train.txt
Loading ../datasets/MQ2007/Fold1/train.txt......
no cache found for ../datasets/MQ2007/Fold2/train.txt
Loading ../datasets/MQ2007/Fold2/train.txt......
no cache found for ../datasets/MQ2007/Fold2/train.txt
Loading ../datasets/MQ2007/Fold2/train.txt......
Loading ../datasets/MQ2007/Fold1/train.txt......
no cache found for ../datasets/MQ2007/Fold2/train.txt
Loading ../datasets/MQ2007/Fold2/train.txt......
no cache found for ../datasets/MQ2007/Fold3/train.txt
Loading ../datasets/MQ2007/Fold3/train.txt......
no cache found for ../datasets/MQ2007/Fold3/train.txt
Loading ../datasets/MQ2007/Fold3/train.txt......
no cache found for ../datasets/MQ2007/Fold3/train.txt
Loading ../datasets/MQ2007/Fold3/train.txt......
no cache found for ../datasets/MQ2007/Fold4/train.txt
Loading ../datasets/MQ2007/Fold4/train.txt......
no cache found for ../datasets/MQ2007/Fold4/train.txt
Loading ../datasets/MQ2007/Fold4/train.txt......
no cache found for ../datasets/MQ2007/Fold4/train.txt
Loading ../datasets/MQ2007/Fold4/train.txt......
no cache found for ../datasets/MQ2007/Fold5/train.txt
Loading ../datasets/MQ2007/Fold5/train.txt......
no cache found for ../datasets/MQ2007/Fold5/train.txt
Loading ../datasets/MQ2007/Fold5/train.txt......
no cache found for ../datasets/MQ2007/Fold5/train.txt
Loading ../datasets/MQ2007/Fold5/train.txt......
multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/celso/anaconda3/envs/federated/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/home/celso/anaconda3/envs/federated/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "run_fpdgd.py", line 45, in do_task
    cache_root="../datasets/cache")
  File "/home/celso/projects/fpdgd-ictir2021/data/LetorDataset.py", line 33, in __init__
    with open(file_path, 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: './../datasets/cache/13d4fc4b30e8b87ab1ff1643935a447f.pkl'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "run_fpdgd.py", line 154, in <module>
    run(output_path, tasks)
  File "run_fpdgd.py", line 62, in run
    results = p.map(do_task, tasks)
  File "/home/celso/anaconda3/envs/federated/lib/python3.6/multiprocessing/pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/home/celso/anaconda3/envs/federated/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
FileNotFoundError: [Errno 2] No such file or directory: './../datasets/cache/13d4fc4b30e8b87ab1ff1643935a447f.pkl'

Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant