pnnl / neuromancer

Pytorch-based framework for solving parametric constrained optimization problems, physics-informed system identification, and parametric model predictive control.
https://pnnl.github.io/neuromancer/
Other
870 stars 114 forks source link

Koopman Operators imports #116

Closed evelynmitchell closed 10 months ago

evelynmitchell commented 10 months ago

In Part_8_nonauto_DeepKoopman.ipynb the initial install cell for colab should be:

!pip install fastapi kaleido python-multipart uvicorn
!pip install lida
!pip install "neuromancer[examples] @ git+https://github.com/pnnl/neuromancer.git@master"

to resolve an import error for lida:

"""ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
lida 0.0.10 requires fastapi, which is not installed.
lida 0.0.10 requires kaleido, which is not installed.
lida 0.0.10 requires python-multipart, which is not installed.
lida 0.0.10 requires uvicorn, which is not installed.
RBirmiwal commented 10 months ago

@evelynmitchell I see. I am able to reproduce this error, though I am still able to proceed and run the entire notebook correctly. Are you still able to run this notebook?

The dependency issue is being looked into in the meanwhile.

Thanks

evelynmitchell commented 10 months ago

I can run the notebook with the correction I submitted.

On Tue, Oct 31, 2023 at 3:30 PM RBirmiwal @.***> wrote:

@evelynmitchell https://github.com/evelynmitchell I see. I am able to reproduce this error, though I am still able to proceed and run the entire notebook correctly. Are you still able to run this notebook?

The dependency issue is being looked into in the meanwhile.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/pnnl/neuromancer/issues/116#issuecomment-1788063886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHV7Z4WSLJ2KC7TN2YJ2OLYCFUVRAVCNFSM6AAAAAA6WPIGQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBYGA3DGOBYGY . You are receiving this because you were mentioned.Message ID: @.***>

RBirmiwal commented 10 months ago

You should still be able to run the notebook without any correction. I just ran the notebook. The "error" raised seems to be an issue with Colab. The lida package is not directly used by NeuroMANCER. We are taking a look into it. Thanks!