Closed gastoner closed 3 days ago
I'll investigate further and try to find a place where would be better place to update the id - to fix the current models
The hash would be great. On Windows it works without problem because the path does not contain "/" But I would imagine same problem on Mac with the Routes
ModelInfo
have sha256 optional attribute - so during import I would compute sha and store it to the model and use it instead of path inside the id
it can also be a hash of the id (or the id is becoming a hash of the file (but it would take time to compute as it's large files)
Do we even want to have the hash IDs in downloaded models? I assume that yes, to be unified
PTAL @jeffmaury
@jeffmaury you have to import the model again
@benoitf It should be affecting only newly imported models
What does this PR do?
Updates model ID when importing model
What issues does this PR fix or reference?
Closes #1942
How to test this PR?
Steps in the issue (any locally imported model)