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

Upgrade pillow to 8.1.0 #138

Draft
wants to merge 1 commit into
base: rel-1.9.1
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion models/mli/ga2m/model_ga2m.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class GA2MModel(CustomModel):
"Intelligible models for healthcare: Predicting pneumonia risk and hospital 30-day readmission."
"In Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining (pp. 1721-1730)."
)
_modules_needed_by_name = ['Pillow==5.4.1', "interpret==0.1.20"]
_modules_needed_by_name = ['Pillow==8.1.0', "interpret==0.1.20"]

@staticmethod
def do_acceptance_test():
Expand Down
2 changes: 1 addition & 1 deletion transformers/image/image_ocr_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class ImageOCRTextTransformer(CustomTransformer):
_modules_needed_by_name = ['Pillow==5.4.1', "pytesseract==0.3.0"]
_modules_needed_by_name = ['Pillow==8.1.0', "pytesseract==0.3.0"]
_parallel_task = True # if enabled, params_base['n_jobs'] will be >= 1 (adaptive to system), otherwise 1
_can_use_gpu = True # if enabled, will use special job scheduler for GPUs
_can_use_multi_gpu = True # if enabled, can get access to multiple GPUs for single transformer (experimental)
Expand Down
2 changes: 1 addition & 1 deletion transformers/image/image_url_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class MyImgTransformer(CustomTransformer, TensorFlowModel):
# Need Pillow before nlp imports keras, else when here too late.
# I.e. wasn't enough to put keras imports inside fit/transform to delay after Pillow installed
_modules_needed_by_name = ['Pillow==5.4.1']
_modules_needed_by_name = ['Pillow==8.1.0']
_tensorflow = True
_parallel_task = True # assumes will use n_jobs in params_base
_can_use_gpu = True
Expand Down