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
[Fix] fix_torchserver1.1 #844
Conversation
Codecov Report
@@ Coverage Diff @@
## master #844 +/- ##
==========================================
- Coverage 89.05% 89.05% -0.01%
==========================================
Files 111 112 +1
Lines 6051 6060 +9
Branches 969 970 +1
==========================================
+ Hits 5389 5397 +8
- Misses 467 468 +1
Partials 195 195
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@VVsssssk Could fix conflicts at first. |
@zhouzaida |
…into test_torchserver
Can import |
@VVsssssk Hi, may update accordingly. |
Hi @VVsssssk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve the comments.
Please also resolve the conflict. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @RunningLeon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* test_torchserver1.1 * test_torchserver1.2 * update * update mmseg_handler.py * update docs * update torchserver * tranfer torchserver to torchserve * update docs
Hi,when I try to test mmseg's torchserver function,i find some problems that casue server can't run.So,I fix problem and write a python script to test function.
2021-08-31 07:34:25,801 [INFO ] W-9006-fcn_1.0-stdout MODEL_LOG - raise ValueError('SyncBatchNorm expected input tensor to be on GPU')
2021-08-31 07:34:25,801 [INFO ] W-9006-fcn_1.0-stdout MODEL_LOG - ValueError: SyncBatchNorm expected input tensor to be on GPU
2021-08-31 07:58:56,594 [INFO ] W-9000-fcn_1.0-stdout MODEL_LOG - Unable to serialize model output.
2021-08-31 07:58:56,595 [INFO ] W-9000-fcn_1.0-stdout MODEL_LOG - raise TypeError(f'Object of type {o.class.name} '
2021-08-31 07:58:56,595 [INFO ] W-9000-fcn_1.0-stdout MODEL_LOG - TypeError: Object of type ndarray is not JSON serializable