EpicGames / MetaHuman-DNA-Calibration

https://epicgames.github.io/MetaHuman-DNA-Calibration/
Other
452 stars 118 forks source link

error loading DNA #2

Closed SofiePT closed 1 year ago

SofiePT commented 1 year ago

# RuntimeError: Error loading DNA: DNA signature mismatched, expected DNA, got ver After trying to load DNA through dna_viewer_run_in_maya.py

vvukobrat commented 1 year ago

Hi! Could you please check the size of the DNA file that was checked out? It should be ~70MB. It's possible that yours is only ~1KB, in which case, you should install git lfs on your side, and then try to check it out again. If you don't want to setup git lfs for some reason, you could also just download it manually. Let me know if this answers your problem.

smilicev commented 1 year ago

Hi @SofiePT, thanks for reporting an issue. @vvukobrat was right.

Here is detailed explanation.

DNA files are stored as LFS files. (At the moment site of git LFS is down, and here is another explanaintion what LFS is. You probably downloaded this repo as zip, and github then does not download LFS files as whole file, but as some metadata file. If you open that Ada.dna file in some editor file, from location were you downloaded MetaHuman-DNA-Calibration and then in data/dna/Ada.dna (eg c:/MetaHuman-DNA-Calibration/data/dna/Ada.dna you will got this:

version https://git-lfs.github.com/spec/v1
oid sha256:e764cfab938283231bcb3e5af1c7bcbec5154bab4804aafa1b5b7dc6e400ca5e
size 73730354

Which is not valid DNA file.

You have two options:

I will close this issue. If your problem persists, please reopen it and provide us with more details.