We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried running the evaluation only for the 3DPW dataset with the following command:
python scripts/spec_eval.py --cfg data/spec/checkpoints/spec_config.yaml --opts DATASET.VAL_DS 3dpw-test-cam
But it gives the following error:
TypeError: test_step() missing 1 required positional argument: 'dataloader_nb'
Fixed it by giving a default value for dataloader_nb for the test_step function in trainer.py:
dataloader_nb
test_step
trainer.py
def test_step(self, batch, batch_nb, dataloader_nb=0): return self.validation_step(batch, batch_nb, dataloader_nb)
The error occurs because we don't append dataloader_idx to args in evaluation_loop.py:
dataloader_idx
args
evaluation_loop.py
if multiple_test_loaders or multiple_val_loaders: args.append(dataloader_idx)
The text was updated successfully, but these errors were encountered:
After fixing dataloader_nb=0, I got another error in spec/trainer.py
SPEC/spec/trainer.py
Line 524 in d2fe2c2
I added an input argument ds_name=self.val_ds[0].dataset to prevent the error.
ds_name=self.val_ds[0].dataset
Sorry, something went wrong.
No branches or pull requests
I tried running the evaluation only for the 3DPW dataset with the following command:
But it gives the following error:
Fixed it by giving a default value for
dataloader_nb
for thetest_step
function intrainer.py
:The error occurs because we don't append
dataloader_idx
toargs
inevaluation_loop.py
:The text was updated successfully, but these errors were encountered: