write workflow of code
explain deployment parameters
Run docker-compose up with the b/m docker-compose.yml and test endpoint with b/m API, body and check against expected results
version: '3.3'
services:
agr:
ports:
- '1718:1718'
volumes:
- '/home:/home'
restart: unless-stopped
environment:
- SINGLE_LOOK=false
image: echizen321/agr
...
POST
http://172.17.0.2:1718/AgeGenderClassification
{
"fileLocation": "/home/plato/Desktop/few_images/newsreporter_objseg.png"
}
{
"results": {
"age_range": {
"confidence": 0.5952436327934265,
"lower_bound": 25,
"upper_bound": 32
},
"gender": {
"confidence": 0.501457929611206,
"gender": "male"
}
}
}
...
Content type
Image
Digest
Size
2.2 GB
Last updated
over 6 years ago
docker pull echizen321/agr