cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ErnstWolthaus
Helper I
Helper I

Unable to edit AI Builder model after moving it to another environment

Hi,

 

I've moved a model to another environment, by placing it in a solution, exporting that solution (unmanaged) and importing it into the target environment.

I didn't get any errors during import, but now, after importing, I cannot edit the model anymore. The button is grayed out. And it cannot display documents...

 

Did I forget to include anything in the solution?

 

noedit.png

Please advise...

 

Best regards,

Ernst Wolthaus

1 ACCEPTED SOLUTION

Accepted Solutions
antoinec
Power Apps
Power Apps

Unfortunately we do not have an easy to document means of moving training data across environments at the moment. If your dataset is small enough, I would recommend just starting from scratch in the new environment. If it's too big to start from scratch, we can try to provide a description of tables & rows which would need to be copied but it's fairly complex to get right.

 

Regarding your second scenario, your statement is correct. Training data is only required to train the model. When you import the model in a new environment you can use it in an app and a flow even if the training data is not available.

 

The whole topic of Model Operations which your questions relate to is something we've started formalizing better from a vision and implementation sequencing perspective. I hope that we'll be able to deliver early improvements over the first half of 2022 to support such cross environment data movement easily. At a gist, if you're working with development, testing and production environments, you want to be able to move models up from development to testing and then production, which solutions allow today. You also want to be able to move training data down from production to development, for which we don't have an easy to use mechanism today.

View solution in original post

3 REPLIES 3
antoinec
Power Apps
Power Apps

Hi Ernst,

It is unfortunately not possible to create a new version of a Forms Processing model after importing it as the import process only copies the model, not the underlying training data. As we're currently looking at making training data copying possible easily, I'd be curious to understand your workflow so we can account for it in future product updates.

More information on such limitations can be found at https://docs.microsoft.com/en-us/ai-builder/distribute-model#limitations . 

Antoine

Ah, right, I understand now...

 

So, I needed to move my model to another environment because we decided the current environment wasn't suitable for a PoC I'm working on the AI Builder form processing.

So I want to move the model which I have already trained to the new environment and train it a bit more.

 

And even if I didn't need to add any more collections or training documents, it would be important to us to look at the 'training material' in the model.

 

In another scenario: we would create and train a model and then move it to Production. In that case, we would only need the model on Production, apps and flows would be able to use it, without the underlying data... right?

 

And finally, we might add documents/collections/fields to the model and train the model in Production, but changing the model 'on the fly' in Production would not be the preferred scenario.

 

So, what would you advise?

 

Best regards,

Ernst Wolthaus

antoinec
Power Apps
Power Apps

Unfortunately we do not have an easy to document means of moving training data across environments at the moment. If your dataset is small enough, I would recommend just starting from scratch in the new environment. If it's too big to start from scratch, we can try to provide a description of tables & rows which would need to be copied but it's fairly complex to get right.

 

Regarding your second scenario, your statement is correct. Training data is only required to train the model. When you import the model in a new environment you can use it in an app and a flow even if the training data is not available.

 

The whole topic of Model Operations which your questions relate to is something we've started formalizing better from a vision and implementation sequencing perspective. I hope that we'll be able to deliver early improvements over the first half of 2022 to support such cross environment data movement easily. At a gist, if you're working with development, testing and production environments, you want to be able to move models up from development to testing and then production, which solutions allow today. You also want to be able to move training data down from production to development, for which we don't have an easy to use mechanism today.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Kudoed Authors
Users online (2,896)