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

No such file or directory: './data/sgd/cached_train_XLMRobertaTokenizer_200_swag.lock' #3

Open
gopal-kalpande opened this issue May 4, 2022 · 0 comments

Comments

@gopal-kalpande
Copy link

gopal-kalpande commented May 4, 2022

Traceback (most recent call last):
File "./transformers/examples/multiple-choice/run_multiple_choice.py", line 229, in
main()
File "./transformers/examples/multiple-choice/run_multiple_choice.py", line 163, in main
if training_args.do_train
File "/content/transformers/examples/multiple-choice/utils_multiple_choice.py", line 109, in init
with FileLock(lock_path):
File "/usr/local/lib/python3.7/dist-packages/filelock/_api.py", line 214, in enter
self.acquire()
File "/usr/local/lib/python3.7/dist-packages/filelock/_api.py", line 170, in acquire
self._acquire()
File "/usr/local/lib/python3.7/dist-packages/filelock/_unix.py", line 35, in _acquire
fd = os.open(self._lock_file, open_mode)
FileNotFoundError: [Errno 2] No such file or directory: './data/sgd/cached_train_XLMRobertaTokenizer_200_swag.lock'

Can you please guide me find this '.lock' extension file?

PS: I'm running it on GoogleColab and got this error.

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