-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
To get help from the community, we encourage using Stack Overflow and the tensorflow.js tag.
TensorFlow.js version
1.3.1
Browser version
Chrome
Describe the problem or feature request
I am trying to save tfjs model on server with additional headers, but headers are not present in the request.
Code to reproduce the bug / link to feature request
web:
await model.save(tf.io.browserHTTPRequest(
'http://localhost:5000/upload',
{method: 'POST', headers: {'class': 'Dog'}}));
server:
https://gist.github.com/dsmilkov/1b6046fd6132d7408d5257b0976f7864
- 'print(request.headers)' in /upload method
If you would like to get help from the community, we encourage using Stack Overflow and the tensorflow.js tag.
GitHub issues for this repository are tracked in the tfjs union repository.
Please file your issue there, following the guidance in that issue template.