AI Fabric : The ML Package deployed are going into failed status #uipath #AI fabric #Orchestrator

Hi,

I am using enterprise trial version and when i followed all the steps properly to use the ml package , in the Orchestrator the deployed package fails always. Can someone please help!

Hi @RenukaRPA… could you share the results in the ‘ML Logs’ of the failed deployments?

Hi ,

There is no option to export the logs ? here is a screenshot

Was there a log before this related to the ML Skill deployment or just this one?

There are lot of it, do u want me to share all the screenshot?

Hi
We identified an issue on our hand which is now fixed (since this morning CET). Could you please try again (sorry for that) and let me know if it works now?

1 Like

hi
facing same issue is that still exists

Hi,

I seem to be facing this issue too. I am using ML via the enterprise trial in UiPath cloud. The steps I follow: Add out of the box package > Document Understanding > V2.0.

The error I see:
File “/microservice/main.py”, line 19, in init

service_internal.init(opt_in=opt, args=argv.ArgvParser().parse(args))

File “/microservice/extraction/model_tag/service_internal.py”, line 115, in init

my_tag_model = model.Model(model_opt, mode=“predict”)

File “/microservice/extraction/model_tag/model.py”, line 26, in new

return Model._load(opt, mode)

File “/microservice/extraction/model_tag/model.py”, line 190, in _load

with open(os.path.join(folder, “model.p”), “rb”) as f:

FileNotFoundError: [Errno 2] No such file or directory: ‘/microservice/models/default/model.p’

File “/microservice/main.py”, line 19, in init

service_internal.init(opt_in=opt, args=argv.ArgvParser().parse(args))

File “/microservice/extraction/model_tag/service_internal.py”, line 115, in init

my_tag_model = model.Model(model_opt, mode=“predict”)

File “/microservice/extraction/model_tag/model.py”, line 26, in new

return Model._load(opt, mode)

It worked for me… Thanks a lot.

I am also facing the same issue. Any update on this matter?

@OliviaMinshall @sylmz
If you are trying to use generic document understanding model you need to retrain it before you can actually use (and then deploy) it. Then you need to make sure that you deploy the new version (minor version must be > 0). If you just want to try DU quickly I would recommand to use another model like invoice or receipts.

I am basically following this tutorial that I came across lately and instead of purchase order pre-defined schema, I uploaded the one for Invoices to Datasets. Created ML Package(UiPathDocumentUnderstanding -> Invoices) And finally, created a new ML Skill by using the ML Package that I recently created. I would like to train the pre-defined schema, it should be possible in my understanding.

Hi Jeremy I am also facing the Exact same issue with my Enterprise Trial version. Can you Please look into it and resolve the same for me also. I have been trying to Deploy the Text Classification Module . Have already trained it with the data available in the AI Fabric certification course and the deployment is failing since 2 days.

Please find below the error details for my error.

Non retryable error occurred while deploying mlskill: Txt_Classify_95Accuracy, reason: TypeError:
file “/microservice/main.py”, line 1, in
from aiflib.model import model, _untrained_help
file “/microservice/aiflib/model.py”, line 7, in
from aiflib.trainer import trainer
file “/microservice/aiflib/trainer.py”, line 15, in
from aiflib.model_loader import modelloader
file “/microservice/aiflib/model_loader.py”, line 3, in
from aiflib.transformer_utils import (
file “/microservice/aiflib/transformer_utils.py”, line 2, in
from fastai.text.transform import basetokenizer
file “/home/aifabric/.local/lib/python3.6/site-packages/fastai/text/init.py”, line 3, in
from .learner import *
file “/home/aifabric/.local/lib/python3.6/site-packages/fastai/text/learner.py”, line 11, in
from .models import *
file “/home/aifabric/.local/lib/python3.6/site-packages/fastai/text/models/init.py”, line 1, in
from .awd_lstm import *
file “/home/aifabric/.local/lib/python3.6/site-packages/fastai/text/models/awd_lstm.py”, line 6, in
from …data import textclasdatabunch
file “/home/aifabric/.local/lib/python3.6/site-packages/fastai/text/data.py”, line 3, in
from .transform import *
file “/home/aifabric/.local/lib/python3.6/site-packages/fastai/text/transform.py”, line 4, in
import spacy
file “/home/aifabric/.local/lib/python3.6/site-packages/spacy/init.py”, line 10, in
from thinc.api import prefer_gpu, require_gpu, require_cpu # noqa: f401
file “/home/aifabric/.local/lib/python3.6/site-packages/thinc/api.py”, line 2, in
from .initializers import normal_init, uniform_init, glorot_uniform_init, zero_init
file “/home/aifabric/.local/lib/python3.6/site-packages/thinc/initializers.py”, line 4, in
from .backends import ops
file “/home/aifabric/.local/lib/python3.6/site-packages/thinc/backends/init.py”, line 6, in
from .ops import ops
file “/home/aifabric/.local/lib/python3.6/site-packages/thinc/backends/ops.py”, line 10, in
from …util import get_array_module, is_xp_array, to_numpy
file “/home/aifabric/.local/lib/python3.6/site-packages/thinc/util.py”, line 15, in
data_validation: contextvar[bool] = contextvar(“data_validation”, default=false)
typeerror: ‘type’ object is not subscriptable

during handling of the above exception, another exception occurred:

Hey @Rajiv_Mulchandani

This is caused by one of our dependency (thinc) that has a new version available introducing breaking change. We have released a new version of the model fixing this issue, please use version 2 of the model. Unfortunately, you will need to redo the training part.

Jeremy

1 Like

Hi Jeremy,

Thankyou!!! so much for your Prompt response on this.

No worries I can do the retraining :slight_smile:

Hi @Rajiv_Mulchandani Could the please share the workflow which you have used to train DU extraction? TIA. In my case, I have used Train extractor scope but seem unable to achieve the required task. In my case, I am using insurance doc type.,