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

Updated base_model.py to account for importing error #1488

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Himanshu-Verma-ds
Copy link

changed the importing of pytorch-forecasting in order to account for this error "model must be a LightningModule or torch._dynamo.OptimizedModule, got TemporalFusionTransformer"

Description

This PR solves the issue of importing of pytorch-forecasting in order to account for this error "model must be a LightningModule or torch._dynamo.OptimizedModule, got TemporalFusionTransformer"

Checklist

  • Linked issues (if existing)
  • Amended changelog for large changes (and added myself there as contributor)
  • Added/modified tests
  • Used pre-commit hooks when committing to ensure that code is compliant with hooks. Install hooks with pre-commit install.
    To run hooks independent of commit, execute pre-commit run --all-files

Make sure to have fun coding!

changed the importing of pytorch-forecasting in order to account for this error "`model` must be a `LightningModule` or `torch._dynamo.OptimizedModule`, got `TemporalFusionTransformer`"
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

Successfully merging this pull request may close these issues.

None yet

1 participant