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
/data/yunfan.lu/home/anaconda2/envs/py3/bin/python /data/yunfan.lu/App/github.data/gluon-cv/scripts/detection/ssd/eval_ssd.py File "/data/yunfan.lu/App/github.data/gluon-cv/scripts/detection/ssd/eval_ssd.py", line 59 batch_size, False, last_batch='keep', num_workers=num_workers) ^ SyntaxError: positional argument follows keyword argument
def get_dataloader(val_dataset, data_shape, batch_size, num_workers): """Get dataloader.""" width, height = data_shape, data_shape batchify_fn = Tuple(Stack(), Pad(pad_val=-1)) val_loader = gluon.data.DataLoader( val_dataset.transform(SSDDefaultValTransform(width, height)), batchify_fn=batchify_fn, batch_size, False, last_batch='keep', num_workers=num_workers) return val_loader
The text was updated successfully, but these errors were encountered:
def get_dataloader(val_dataset, data_shape, batch_size, num_workers): """Get dataloader.""" width, height = data_shape, data_shape batchify_fn = Tuple(Stack(), Pad(pad_val=-1)) val_loader = gluon.data.DataLoader( val_dataset.transform(SSDDefaultValTransform(width, height)), batchify_fn=batchify_fn, batch_size=batch_size, shuffle=False, last_batch='keep', num_workers=num_workers) return val_loader
Sorry, something went wrong.
Fixed, please use master.
No branches or pull requests
The text was updated successfully, but these errors were encountered: