shreyajn commited on
Commit
5b90b9a
1 Parent(s): e336f81

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +14 -14
README.md CHANGED
@@ -182,13 +182,13 @@ provisioned in the cloud. Once the job is submitted, you can navigate to a
182
  provided job URL to view a variety of on-device performance metrics.
183
  ```python
184
  hand_detector_profile_job = hub.submit_profile_job(
185
- model=hand_detector_target_model,
186
- device=device,
187
- )
188
  hand_landmark_detector_profile_job = hub.submit_profile_job(
189
- model=hand_landmark_detector_target_model,
190
- device=device,
191
- )
192
 
193
  ```
194
 
@@ -199,17 +199,17 @@ on sample input data on the same cloud hosted device.
199
  ```python
200
  hand_detector_input_data = hand_detector_model.sample_inputs()
201
  hand_detector_inference_job = hub.submit_inference_job(
202
- model=hand_detector_target_model,
203
- device=device,
204
- inputs=hand_detector_input_data,
205
- )
206
  hand_detector_inference_job.download_output_data()
207
  hand_landmark_detector_input_data = hand_landmark_detector_model.sample_inputs()
208
  hand_landmark_detector_inference_job = hub.submit_inference_job(
209
- model=hand_landmark_detector_target_model,
210
- device=device,
211
- inputs=hand_landmark_detector_input_data,
212
- )
213
  hand_landmark_detector_inference_job.download_output_data()
214
 
215
  ```
 
182
  provided job URL to view a variety of on-device performance metrics.
183
  ```python
184
  hand_detector_profile_job = hub.submit_profile_job(
185
+ model=hand_detector_target_model,
186
+ device=device,
187
+ )
188
  hand_landmark_detector_profile_job = hub.submit_profile_job(
189
+ model=hand_landmark_detector_target_model,
190
+ device=device,
191
+ )
192
 
193
  ```
194
 
 
199
  ```python
200
  hand_detector_input_data = hand_detector_model.sample_inputs()
201
  hand_detector_inference_job = hub.submit_inference_job(
202
+ model=hand_detector_target_model,
203
+ device=device,
204
+ inputs=hand_detector_input_data,
205
+ )
206
  hand_detector_inference_job.download_output_data()
207
  hand_landmark_detector_input_data = hand_landmark_detector_model.sample_inputs()
208
  hand_landmark_detector_inference_job = hub.submit_inference_job(
209
+ model=hand_landmark_detector_target_model,
210
+ device=device,
211
+ inputs=hand_landmark_detector_input_data,
212
+ )
213
  hand_landmark_detector_inference_job.download_output_data()
214
 
215
  ```