-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something went wrong with id: 0 #33
Comments
Hi, download Basel Face Model 2017 Best |
Ok. Thanks for pointing me to the more appropriate resources. Regarding this one, I believe I have downloaded all the requirements. I have pointed to the Basel Face Model *.h5 and the background images path in the example_config_controlled.json file and my data/bip folder contains "data", "BIP2017.jar" and "readme.md" which were extracted from the downloaded BIP model. I will recheck everything once again and let you know. |
For the BIP it is actually the parameters folder that you need. The BIP2017.jar is not needed in the generator |
So, my data folder structure looks like this: data/bfm2017/ data/bip/ data/backgrounds/ The config files are pointing to the correct paths too. But I am still getting the same error. Is the above folder structure wrong? |
Can you share your config file? Or try the original one and just change the paths and nothing else? Or try to use absolute path to make sure it is not a path related issue? The BIP folder is the one containing rps files right? And you use jpg for backgrounds in the config? |
Yes, my config file looks like this: { I will try having absolute paths in the config and post here if it works. Yes, my BIP folder is the one containing the .rps files as shown in the above tree. |
Can you also check if it works if you replace the model file with this one: In that case it would conflict with landmark files not available in the face12 mask (remove all ear landmarks) "__comment-landmark-tags-1" : "The tags specifying which landmarks will be stored in the tlms file.", |
Thanks. That worked. I downloaded the _bfm_nomouth.h5 file and pointed to that in the config file and it worked. Then I removed the ear landmarks and pointed back to the _face12_nomouth.h5 file, and it worked this time. By the way, what would be a good platform to raise an issue about the occlusion-aware morphable model that you shared: https://gravis.dmi.unibas.ch/PMM/lectures/segmentation/. I am having issues executing that one too. |
Cool! The most related thread in our google group would be this one: The tutorial works with Java JVM, > 1.8.0_80 (Oracle and OpenJDK should work) (use 64 bit version if available) but not with Java above 1.9 or Java 9... It has to do with the interactive console, so you might just need to download an old java version Best |
When I execute the generator.jar file, I get this ouptut:
$ java -Xmx2g -cp generator.jar faces.apps.ControlledFaces -c data/config_files/example_config_controlled.json
Generating ID:0 Sample:1
Something went wrong with id: 0
None.get
[Ljava.lang.StackTraceElement;@2f1918c6
(
I am trying to run this to visualize the working of the paper "Occlusion-aware 3d morphable models and an illumination prior for face image analysis". Any clues to fix this would be much appreciated.
The text was updated successfully, but these errors were encountered: