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

TypeError: function takes exactly 5 arguments (1 given) #33

Open
ssbilakeri opened this issue Nov 26, 2020 · 0 comments
Open

TypeError: function takes exactly 5 arguments (1 given) #33

ssbilakeri opened this issue Nov 26, 2020 · 0 comments

Comments

@ssbilakeri
Copy link

kindly help me to resolve this error.

Traceback (most recent call last):
File "C:\Users\ssbilakeri\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\ssbilakeri\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\project_dir\EANet-master\package\optim\eanet_trainer.py", line 135, in
trainer.train_phases()
File "D:\project_dir\EANet-master\package\optim\eanet_trainer.py", line 126, in train_phases
self.train()
File "D:\project_dir\EANet-master\package\optim\reid_trainer.py", line 338, in train
self.trainer.train_one_epoch(trial_run_steps=3 if cfg.trial_run else None)
File "D:\project_dir\EANet-master\package\optim\trainer.py", line 35, in train_one_epoch
for i, batch in enumerate(self.train_loader):
File "C:\Users\ssbilakeri\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 637, in next
return self._process_next_batch(batch)
File "C:\Users\ssbilakeri\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 658, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
TypeError: function takes exactly 5 arguments (1 given)

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