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

Fix gluonts.mx.trainer.Trainer in case of empty data loader #2228

Merged
merged 4 commits into from
Aug 23, 2022

Conversation

lostella
Copy link
Contributor

Issue #, if available: Fixes #2222

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

@lostella lostella requested a review from jaheba August 22, 2022 19:48
jaheba
jaheba previously approved these changes Aug 22, 2022
@lostella lostella enabled auto-merge (squash) August 22, 2022 20:29
@lostella lostella added bug fix (one of pr required labels) pending v0.10.x backport This contains a fix to be backported to the v0.10.x branch pending v0.9.x backport labels Aug 22, 2022
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.

from dataclasses import dataclass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks unused?

@lostella lostella merged commit 4f6a6a9 into awslabs:dev Aug 23, 2022
@lostella lostella deleted the fix-2222 branch August 26, 2022 10:21
lostella added a commit to lostella/gluonts that referenced this pull request Aug 26, 2022
@lostella lostella mentioned this pull request Aug 26, 2022
lostella added a commit to lostella/gluonts that referenced this pull request Aug 26, 2022
@lostella lostella mentioned this pull request Aug 26, 2022
@lostella lostella removed pending v0.9.x backport pending v0.10.x backport This contains a fix to be backported to the v0.10.x branch labels Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix (one of pr required labels)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

local variable 'lv' referenced before assignment
2 participants