kiudee / cs-ranking

Context-sensitive ranking and choice in Python with PyTorch
https://cs-ranking.readthedocs.io
Apache License 2.0
66 stars 15 forks source link

Remove abstract marker on get_train_test_datasets #167

Closed timokau closed 4 years ago

timokau commented 4 years ago

Description

There is a default method implementation, so there is no reason to mark it abstract. The marker makes it impossible to instantiate ChoiceDatasetGenerator, which does not explicitly override the default implementation.

Fixes #166

How Has This Been Tested?

Testsuite & lints.

Types of changes

Checklist:

timokau commented 4 years ago

Travis has a flaky issue (potery says "Connection reset by peer"), but the tests pass locally.

kiudee commented 4 years ago

Yes, I had that happen as well on other repositories. I will rerun the jobs until they pass.

timokau commented 4 years ago

Had to do a trivial rebase since GitHub didn't allow me to merge. No changes. Please re-approve.