Open maxhawkins opened 8 years ago
Yes, I've been working on making this consistent. I need to take a break now, but in case you want to look at this in the meantime, I've pushed a work-in-progress py2app branch to ebe30a83b3bf4271def2e06ccb5ab79e732e9cb2.
It doesn't completely work yet, but I do think it's close to addressing many of the path issues.
(It treats data/nnet_a_gpu_online
as the pristine original, as provided by the lowerquality.com download, and creates derivatives in data/
, which is more complicated in the case of running from a .app bundle.)
So the derivatives aren't built in tempfiles anymore? Where does PROTO_LANGDIR live?
Changes from your tree
dump:
• we no longer have a conf
directory in nnet_a_gpu_online
(thanks, Max!)
• also, you have an extra final.mdl
in nnet_a_gpu_online
.
• there can be an optional data/graph/HCLG.fst
file, to allow non-user-supplied transcription.
Otherwise the dump is accurate. PROTO_LANGDIR
still needs to be in the CWD, and is copied/modified to tempfiles.
What if PROTO_LANGDIR lived inside data? It would be easier to keep track of one folder.
That's a good idea. Ideally, we would have a naming scheme that allowed multiple languages to be supported, and updates gracefully applied.
I wanted to clarify how you see the model files being laid out. I think there's been some confusion and the code as-is doesn't work with the latest model files from lowerquality.com.
Is this the intended file layout?
I'll update the code to match whatever the correct layout is.