Post Update: AI Traits removed from AI Tags Metadata Template

Started by Jingo, March 19, 2025, 02:59:07 PM

Previous topic - Next topic

Jingo

Just update to the 2025.2.4 and noticed when I viewed the AI Tags metadata template that the custom traits I have setup are no longer appearing.  Looks like the update reset the standard metadata templates removing the traits I had added.

Since the only way to see custom AI traits on the AI Tags template is to manually set them up - should they not be retrained between updates?  

Thx - Andy.

GQBDOWZ2XQ.png

Mario

Installing an update does not change or re-import Metadata Panel layouts. This cannot be the reason.
The Metadata Panel validates layouts when it receives a "AI Tag removed" message from the system, to ensure that there are no longer existing tags in layouts. Did you remove an AI tag (trait tag)?
Are all AI tags still there? See Database menu > Tools > Manage AI Tags.

Jingo

Hmm... interesting.. I thought they were reinstalled (good to know they are not)

The traits are still there:

IMatch2025x64_8kBbjHiXQg.png

Just had a thought: are the metadata panel layouts written into the database immediately... or when the program is shutdown?  I had a power failure so IMatch did not shut down cleanly... I got the warning when I restarted again asking if I wanted to use the last database, etc.... could that have something to do with the missing custom traits?

Mario

They are written when you close the layout editor dialog with OK. Unless the power failure happens in exactly that moment...
If you can reproduce this, let me know.

I still have all AI traits I have created in my two test databases and the MD panel layouts show them.

Jingo

Ok.. strange.  I just set them up again so will keep an eye on the layout to see if they "disappear" again.  Thx.

Lincoln

Had a similar thing happen after upgrade to 2025.2.2. The first two "Traits" still have their destination but the third "Headline" disappeared.

Lincoln

In my case it seems it was the way I was creating the Trait. So not a "bug" just operator error :'(

Lincoln

Just upgraded to 2025.2.4. No problems. I was creating the tag trait incorrectly. You must create it as AI.Headline and then it stays.

Mario

Quote from: Lincoln on March 20, 2025, 04:35:45 AMIn my case it seems it was the way I was creating the Trait. So not a "bug" just operator error :'(
Can you provide more details.

Installing an update does not change existing Metadata Panel layouts.
I don't think there is a way to create trait tags wrong. What do you mean by that?

By design, you create the AI tag and IMatch stores it in the database like any other tag.When you add it to a Metadata Panel layout or use it elsewhere via a variable, this should "stick" and not change somehow by accident.

Lincoln

When I created the headline tag I just used the first Headline Variable I saw which was XMP::photoshop\Headline\Headline\0 and Imatch created it. I used that for several weeks. When I upgraded the trait was still listed but the path to it had it disappeared. 
Then I realised I should have created a AI.Headline and now everything preforms as expected. Total user error on my part.

Mario


QuoteWhen I created the headline tag I just used the first Headline Variable I saw which was XMP::photoshop\Headline\Headline\0 and Imatch created it.
XMP::photoshop\Headline\Headline\0  is not a variable but the official XMP headline tag. It is shown, e.g., in the Default Metadata Panel layout.

It is not an user-defined AI tag.

You can use it for traits, like you can use any writable metadata tag, if you don't want to create Trait tags.
Traits allow you to fill both normal tags and your user-defined trait tags. If you want to store your traits as part of the metadata in images, use a normal tag. Else create an AI tag. This is very flexible, since both options can make sense for different traits.