simonwsw / deep-soli

Gesture Recognition Using Neural Networks with Google's Project Soli Sensor
MIT License
139 stars 51 forks source link

can't find image/bin/image #19

Closed mxtx0509 closed 6 years ago

mxtx0509 commented 6 years ago

when I run the code ,there is a error

Traceback (most recent call last): File "pre/main.py", line 33, in args.originsize, args.outsize) File "pre/main.py", line 12, in main origin_size, out_size, redo) File "/home/mz/soli/deep-soli-master/deep-soli-master/pre/seq.py", line 33, in generate_image o.generate_image(s, t, num_channel, origin_size, out_size) File "/home/mz/soli/deep-soli-master/deep-soli-master/pre/op.py", line 23, in generate_image '--bound', str(bound)]) File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

I think this is because there is no file 'image/bin/image' when run the code

def generate_image(self, source, target, num_channel, origin_size=32, out_size=32, bound=15.0, bin_image='image/bin/image'): if not os.path.exists(target): os.makedirs(target)

run flow command

    print 'ting', bin_image
    p = subprocess.Popen([bin_image,
        '--source', source, '--target', target,
        '--channel', str(num_channel),
        '--origin', str(origin_size),
        '--out', str(out_size),
        '--bound', str(bound)])

I can't find the file image/bin/image' could you tell me where is the file or how to get the file the code ? thank you.