The bob.bio.base and bob.bio.face I am using is version 5.
To test the command bob bio pipelines, I did as the documentation said:
First, I copied and saved the example code into a python file my_pipeline.py;
Then I run the command: bob bio pipelines vanilla-biometrics -d atnt -p my_pipeline.py -o results;
The error message is:
File "/Users/yunwang/opt/anaconda3/envs/bob_env3/lib/python3.8/site-packages/bob/bio/my_pipeline.py", line 52, in <module>
database.allow_scoring_with_all_biometric_references = False
NameError: name 'database' is not defined
So I added "from bob.bio.base import database" in the my_pipeline.py, then this bug seemed been fixed.
I run the command again, this time the error message is :
File "/Users/yunwang/opt/anaconda3/envs/bob_env3/lib/python3.8/site-packages/bob/io/base/__init__.py", line 144, in load
raise RuntimeError(f"`{inputs}' does not exist!")
RuntimeError: `s3/2.pgm' does not exist!
In version 4, when I run the baseline command, I've created a file in my base environment, which set the data paths
Obviously, this doesn’t work for version 5 pipelines.
How can I set the data directory to run this pipelines command?
Thank you!
The bob.bio.base and bob.bio.face I am using is version 5.To test the command bob bio pipelines, I did as the documentation said:First, I copied and saved the example code into a python file my_pipeline.py;Then I run the command: bob bio pipelines vanilla-biometrics -d atnt -p my_pipeline.py -o results;The error message is:File "/Users/yunwang/opt/anaconda3/envs/bob_env3/lib/python3.8/site-packages/bob/bio/my_pipeline.py", line 52, in <module>database.allow_scoring_with_all_biometric_references = FalseNameError: name 'database' is not definedSo I added "from bob.bio.base import database" in the my_pipeline.py, then this bug seemed been fixed.I run the command again, this time the error message is :File "/Users/yunwang/opt/anaconda3/envs/bob_env3/lib/python3.8/site-packages/bob/io/base/__init__.py", line 144, in loadraise RuntimeError(f"`{inputs}' does not exist!")RuntimeError: `s3/2.pgm' does not exist!In version 4, when I run the baseline command, I've created a file in my base environment, which set the data paths
Obviously, this doesn’t work for version 5 pipelines.How can I set the data directory to run this pipelines command?Thank you!
---- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/---You received this message because you are subscribed to the Google Groups "bob-devel" group.To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.To view this discussion on the web, visit https://groups.google.com/d/msgid/bob-devel/89dc9a68-a4bc-4849-a9b9-f3a4d79974e3n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "bob-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bob-devel/1PA7sycb1Ds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bob-devel+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/bob-devel/118283E2-9D15-4431-BE40-21D688644BE7%40getmailspring.com.
bob config set
command./home/username/databases/atnt
bob config set bob.db.atnt.directory /home/username/databases/atnt
To view this discussion on the web, visit https://groups.google.com/d/msgid/bob-devel/ef835875-f712-493c-9838-bc9e21b780fdn%40googlegroups.com.