vganapati / mnist-classification
Classify numerical digits.
- Public
- 115 runs
- GitHub
Prediction
vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7ID7aaul7xqlfcjheh6zss57aa2vyStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "input": "https://replicate.delivery/mgxm/2736d2b2-0be9-4770-9e9f-456fafb4312c/mnist.png" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", { input: { input: "https://replicate.delivery/mgxm/2736d2b2-0be9-4770-9e9f-456fafb4312c/mnist.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", input={ "input": "https://replicate.delivery/mgxm/2736d2b2-0be9-4770-9e9f-456fafb4312c/mnist.png" } ) # The vganapati/mnist-classification model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/vganapati/mnist-classification/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", "input": { "input": "https://replicate.delivery/mgxm/2736d2b2-0be9-4770-9e9f-456fafb4312c/mnist.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
5{ "completed_at": "2022-01-13T22:31:06.814751Z", "created_at": "2022-01-13T22:31:05.635496Z", "data_removed": false, "error": null, "id": "7aaul7xqlfcjheh6zss57aa2vy", "input": { "input": "https://replicate.delivery/mgxm/2736d2b2-0be9-4770-9e9f-456fafb4312c/mnist.png" }, "logs": null, "metrics": { "predict_time": 0.685898, "total_time": 1.179255 }, "output": [ { "text": "5" } ], "started_at": "2022-01-13T22:31:06.128853Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7aaul7xqlfcjheh6zss57aa2vy", "cancel": "https://api.replicate.com/v1/predictions/7aaul7xqlfcjheh6zss57aa2vy/cancel" }, "version": "f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7" }
Prediction
vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7ID2hrxlop4wjhk5a6qvs736s4n5qStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "input": "https://replicate.delivery/mgxm/2981468f-ba45-44ef-b67f-9daf22c3845a/mnist.png" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", { input: { input: "https://replicate.delivery/mgxm/2981468f-ba45-44ef-b67f-9daf22c3845a/mnist.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", input={ "input": "https://replicate.delivery/mgxm/2981468f-ba45-44ef-b67f-9daf22c3845a/mnist.png" } ) # The vganapati/mnist-classification model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/vganapati/mnist-classification/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", "input": { "input": "https://replicate.delivery/mgxm/2981468f-ba45-44ef-b67f-9daf22c3845a/mnist.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
3{ "completed_at": "2022-01-13T22:31:55.436014Z", "created_at": "2022-01-13T22:31:54.402544Z", "data_removed": false, "error": null, "id": "2hrxlop4wjhk5a6qvs736s4n5q", "input": { "input": "https://replicate.delivery/mgxm/2981468f-ba45-44ef-b67f-9daf22c3845a/mnist.png" }, "logs": null, "metrics": { "predict_time": 0.617749, "total_time": 1.03347 }, "output": [ { "text": "3" } ], "started_at": "2022-01-13T22:31:54.818265Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2hrxlop4wjhk5a6qvs736s4n5q", "cancel": "https://api.replicate.com/v1/predictions/2hrxlop4wjhk5a6qvs736s4n5q/cancel" }, "version": "f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7" }
Prediction
vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7IDkvlpgamjjngmjniq5gx24jbokiStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "input": "https://replicate.delivery/mgxm/b6d62992-3b1b-4c88-bff1-e5337335afa7/mnist.png" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", { input: { input: "https://replicate.delivery/mgxm/b6d62992-3b1b-4c88-bff1-e5337335afa7/mnist.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", input={ "input": "https://replicate.delivery/mgxm/b6d62992-3b1b-4c88-bff1-e5337335afa7/mnist.png" } ) # The vganapati/mnist-classification model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/vganapati/mnist-classification/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", "input": { "input": "https://replicate.delivery/mgxm/b6d62992-3b1b-4c88-bff1-e5337335afa7/mnist.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
1{ "completed_at": "2022-01-13T22:32:14.871819Z", "created_at": "2022-01-13T22:32:13.721758Z", "data_removed": false, "error": null, "id": "kvlpgamjjngmjniq5gx24jboki", "input": { "input": "https://replicate.delivery/mgxm/b6d62992-3b1b-4c88-bff1-e5337335afa7/mnist.png" }, "logs": null, "metrics": { "predict_time": 0.654955, "total_time": 1.150061 }, "output": [ { "text": "1" } ], "started_at": "2022-01-13T22:32:14.216864Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/kvlpgamjjngmjniq5gx24jboki", "cancel": "https://api.replicate.com/v1/predictions/kvlpgamjjngmjniq5gx24jboki/cancel" }, "version": "f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7" }
Prediction
vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7IDdv3uexahjncx3nqyjpo7fwtp44StatusSucceededSourceWebHardware–Total durationCreatedInput
{ "input": "https://replicate.delivery/mgxm/e48d7acb-260c-4c6e-a5e5-582e4b5a3274/mnist.png" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", { input: { input: "https://replicate.delivery/mgxm/e48d7acb-260c-4c6e-a5e5-582e4b5a3274/mnist.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", input={ "input": "https://replicate.delivery/mgxm/e48d7acb-260c-4c6e-a5e5-582e4b5a3274/mnist.png" } ) # The vganapati/mnist-classification model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/vganapati/mnist-classification/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", "input": { "input": "https://replicate.delivery/mgxm/e48d7acb-260c-4c6e-a5e5-582e4b5a3274/mnist.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
3{ "completed_at": "2022-01-13T22:24:41.650595Z", "created_at": "2022-01-13T22:24:12.036457Z", "data_removed": false, "error": null, "id": "dv3uexahjncx3nqyjpo7fwtp44", "input": { "input": "https://replicate.delivery/mgxm/e48d7acb-260c-4c6e-a5e5-582e4b5a3274/mnist.png" }, "logs": null, "metrics": { "predict_time": 0.000003, "total_time": 29.614138 }, "output": [ { "text": "3" } ], "started_at": "2022-01-13T22:24:41.650592Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dv3uexahjncx3nqyjpo7fwtp44", "cancel": "https://api.replicate.com/v1/predictions/dv3uexahjncx3nqyjpo7fwtp44/cancel" }, "version": "f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7" }
Prediction
vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7IDgxasabtg6rdutie3tffjy3leduStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "input": "https://replicate.delivery/mgxm/11a2016a-0f7c-42d3-abe6-8bcd4a90e84a/mnist.png" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", { input: { input: "https://replicate.delivery/mgxm/11a2016a-0f7c-42d3-abe6-8bcd4a90e84a/mnist.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", input={ "input": "https://replicate.delivery/mgxm/11a2016a-0f7c-42d3-abe6-8bcd4a90e84a/mnist.png" } ) # The vganapati/mnist-classification model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/vganapati/mnist-classification/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", "input": { "input": "https://replicate.delivery/mgxm/11a2016a-0f7c-42d3-abe6-8bcd4a90e84a/mnist.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
3{ "completed_at": "2022-01-13T22:30:37.837944Z", "created_at": "2022-01-13T22:30:36.791534Z", "data_removed": false, "error": null, "id": "gxasabtg6rdutie3tffjy3ledu", "input": { "input": "https://replicate.delivery/mgxm/11a2016a-0f7c-42d3-abe6-8bcd4a90e84a/mnist.png" }, "logs": null, "metrics": { "predict_time": 0.637365, "total_time": 1.04641 }, "output": [ { "text": "3" } ], "started_at": "2022-01-13T22:30:37.200579Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gxasabtg6rdutie3tffjy3ledu", "cancel": "https://api.replicate.com/v1/predictions/gxasabtg6rdutie3tffjy3ledu/cancel" }, "version": "f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7" }
Prediction
vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7ID6pafc7hmvfbnjgkv3kmjjdv36eStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "input": "https://replicate.delivery/mgxm/4732668e-0ee5-4c45-b41b-4ad72c8506ea/mnist.png" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", { input: { input: "https://replicate.delivery/mgxm/4732668e-0ee5-4c45-b41b-4ad72c8506ea/mnist.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", input={ "input": "https://replicate.delivery/mgxm/4732668e-0ee5-4c45-b41b-4ad72c8506ea/mnist.png" } ) # The vganapati/mnist-classification model can stream output as it's running. # The predict method returns an iterator, and you can iterate over that output. for item in output: # https://replicate.com/vganapati/mnist-classification/api#output-schema print(item)
To learn more, take a look at the guide on getting started with Python.
Run vganapati/mnist-classification using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "vganapati/mnist-classification:f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7", "input": { "input": "https://replicate.delivery/mgxm/4732668e-0ee5-4c45-b41b-4ad72c8506ea/mnist.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
4{ "completed_at": "2022-01-13T22:31:28.649814Z", "created_at": "2022-01-13T22:31:27.630305Z", "data_removed": false, "error": null, "id": "6pafc7hmvfbnjgkv3kmjjdv36e", "input": { "input": "https://replicate.delivery/mgxm/4732668e-0ee5-4c45-b41b-4ad72c8506ea/mnist.png" }, "logs": null, "metrics": { "predict_time": 0.618007, "total_time": 1.019509 }, "output": [ { "text": "4" } ], "started_at": "2022-01-13T22:31:28.031807Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6pafc7hmvfbnjgkv3kmjjdv36e", "cancel": "https://api.replicate.com/v1/predictions/6pafc7hmvfbnjgkv3kmjjdv36e/cancel" }, "version": "f3d94d920835d9ae085f0f0eb2ed8ff9f9771554e382af11e83cd79f1a646cb7" }
Want to make some of these yourself?
Run this model