bug fix : mismatch in request file fields name causing postprocess_draft.py not reading segmented image
@bd0d3e5ae908c0d76154830cafa27fab98ca5c5c
--- postprocess_draft.py
+++ postprocess_draft.py
... | ... | @@ -298,7 +298,7 @@ |
298 | 298 |
if self.detected: |
299 | 299 |
try: |
300 | 300 |
# self.mask = request.files['mask'].read() |
301 |
- self.seg_image = request.files['seg_image'] |
|
301 |
+ self.seg_image = request.files['seg_image'].read() |
|
302 | 302 |
except: |
303 | 303 |
raise ValueError("Error reading 'mask' and 'seg_mask'") |
304 | 304 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?