# Value error image classification

**URL:** <https://discuss.huggingface.co/t/value-error-image-classification/66520>\
**Category:** Beginners\
**Created:** [December 20, 2023, 8:04pm UTC](https://discuss.huggingface.co/t/value-error-image-classification/66520 "2023-12-20T20:04:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eniac00](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@eniac00](https://discuss.huggingface.co/u/eniac00)\
**Post date:** [December 20, 2023, 8:04pm UTC](https://discuss.huggingface.co/t/value-error-image-classification/66520/1 "2023-12-20T20:04:23Z")

</div>

I am trying to use autotrain to fine tune a image classification model (used `docker`). I have uploaded the dataset as it was instructed. But when I try to `start training` the log shows this error. Please tell me how to solve this error.

```auto
  File "/app/env/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/app/env/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/app/env/lib/python3.10/site-packages/fastapi/routing.py", line 274, in app
    raw_response = await run_endpoint_function(
  File "/app/env/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/app/src/autotrain/app.py", line 424, in handle_form
    params = app_params.munge()
  File "/app/src/autotrain/app_params.py", line 37, in munge
    raise ValueError(f"Unknown task: {self.task}")
ValueError: Unknown task: image_multi_class_classification

```

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [December 21, 2023, 9:25am UTC](https://discuss.huggingface.co/t/value-error-image-classification/66520/2 "2023-12-21T09:25:05Z")

</div>

cc @abhishek

---

<div class="post-metadata">

**Author:** ![abhishek](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abhishek/32/32360_2.png) [@abhishek](https://discuss.huggingface.co/u/abhishek)\
**Post date:** [December 21, 2023, 10:50am UTC](https://discuss.huggingface.co/t/value-error-image-classification/66520/3 "2023-12-21T10:50:02Z")

</div>

@eniac00 fixed. please install latest version from pip.  
for future reference, creating issue in autotrain repo will result in faster resolution: [GitHub - huggingface/autotrain-advanced: 🤗 AutoTrain Advanced](https://github.com/huggingface/autotrain-advanced)
