-
Notifications
You must be signed in to change notification settings - Fork 250
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
./run_fewshot_cpt.sh ERROR #63
Comments
@chywang pls take a look~ |
what is your command? |
TypeError: type object got multiple values for keyword argument 'user_defined_parameters'
Using Contrastive Few shot Learner, using random label words only as place-holders
Traceback (most recent call last):
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/easynlp/appzoo/api.py", line 459, in
default_main_fn()
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/easynlp/appzoo/api.py", line 423, in default_main_fn
evaluator = get_application_evaluator(
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/easynlp/appzoo/api.py", line 303, in get_application_evaluator
return evaluator[key](valid_dataset, user_defined_parameters=user_defined_parameters, **kwargs)
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/easynlp/fewshot_learning/fewshot_evaluator.py", line 131, in init
anchor_dataset = FewshotBaseDataset(
TypeError: type object got multiple values for keyword argument 'user_defined_parameters'
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 209685) of binary: /home/wpf/anaconda3/envs/fewshot/bin/python
Traceback (most recent call last):
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/torch/distributed/launch.py", line 193, in
main()
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/torch/distributed/launch.py", line 189, in main
launch(args)
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/torch/distributed/launch.py", line 174, in launch
run(args)
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/torch/distributed/run.py", line 689, in run
elastic_launch(
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 116, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 244, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
/home/wpf/anaconda3/envs/fewshot/lib/python3.8/site-packages/easynlp/appzoo/api.py FAILED
Root Cause:
[0]:
time: 2022-04-28_19:18:11
rank: 0 (local_rank: 0)
exitcode: 1 (pid: 209685)
error_file: <N/A>
msg: "Process failed with exitcode 1"
The text was updated successfully, but these errors were encountered: