Skip to content

Commit

Permalink
fix(JAQPOT-87): update jaqpot inference requirements (#2)
Browse files Browse the repository at this point in the history
* fix: add missing local requirements.txt

* fix: add pycache to gitignore

* fix: add local-requirements.txt

* fix: remove jaqpotpy absolute path

* fix: Updated requirements

* fix: Set doaMatrix default value to None

The default value of doaMatrix is set to None to successfully take prediction from the the jaqpot-inference with the updated version of pydantic.

* fix: Deleted local_requirements.txt

---------

Co-authored-by: Alex Arvanitidis <[email protected]>
  • Loading branch information
vassilismin and alarv authored May 28, 2024
1 parent 309b014 commit eae7352
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
24 changes: 3 additions & 21 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
fastapi==0.88.0
pydantic==1.10.2
uvicorn==0.20.0

# local requirements
# uncomment to run the system locally
# torch==1.13.0
# jaqpotpy==1.0.82
# tqdm==4.64.1
# skl2onnx==1.13.0
# onnxruntime==1.13.1
# matplotlib==3.6.2
# numpy~=1.26.4
# networkx~=2.8.8
# pillow~=10.3.0
# scipy~=1.13.0
# torch-scatter
# torch-sparse
# torch-cluster
# torch-spline-conv
# torch-geometric
fastapi==0.111.0
pydantic==2.7.1
uvicorn==0.29.0
2 changes: 1 addition & 1 deletion src/entities/prediction_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ class PredictionRequestPydantic(BaseModel):
dataset: Any
rawModel: Any
additionalInfo: Any
doaMatrix: Any
doaMatrix: Any = None

0 comments on commit eae7352

Please sign in to comment.