install_learning_datasets.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 import argparse
00004 import multiprocessing
00005 
00006 import jsk_data
00007 
00008 
00009 def download_data(*args, **kwargs):
00010     p = multiprocessing.Process(
00011         target=jsk_data.download_data,
00012         args=args,
00013         kwargs=kwargs)
00014     p.start()
00015 
00016 
00017 def main():
00018     parser = argparse.ArgumentParser()
00019     parser.add_argument('-v', '--verbose', dest='quiet', action='store_false')
00020     args = parser.parse_args()
00021     quiet = args.quiet
00022 
00023     PKG = 'jsk_perception'
00024 
00025     download_data(
00026         pkg_name=PKG,
00027         path='learning_datasets/kitchen_dataset.tgz',
00028         url='https://drive.google.com/uc?id=1iBSxX7I0nFDJfYNpFEb1caSQ0nl4EVUa',
00029         md5='61d6fcda7631fd0a940bc751c8f21031',
00030         quiet=quiet,
00031         extract=True,
00032     )
00033 
00034 
00035 if __name__ == '__main__':
00036     main()


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:07