legup@legup-vm:~/LeFlow/test$ ../src/LeFlow 01_vecmul_a/01_vecmul_a.py
INFO: Creating project...
INFO: Cleaning previous files...
INFO: Generating IR from tensorflow...
INFO: Cleaning unused dumped files...
Traceback (most recent call last):
File "../src/LeFlow", line 195, in
run_leflow(args.file_name,tool_path)
File "../src/LeFlow", line 79, in run_leflow
shutil.copy(project_folder+"ir/ir-cluster_0XlaCompiledKernel_true__XlaNumConstantArgs_0XlaNumResourceArgs_0module-with-opt.ll",project_folder+project_name+"_ir_1.ll")
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '01_vecmul_a/01_vecmul_a_files/ir/ir-cluster_0XlaCompiledKernel_trueXlaNumConstantArgs_0__XlaNumResourceArgs_0module-with-opt.ll'
../src/LeFlow 01_vecmul_a/01_vecmul_a.py this command fails because of dir structure I guess.
So,I just changed my dir to 01_vecmul_a then
tried ../../src/LeFlow 01_vecmul_a.py
Works fine now
legup@legup-vm:~/LeFlow/test$ ../src/LeFlow 01_vecmul_a/01_vecmul_a.py INFO: Creating project... INFO: Cleaning previous files... INFO: Generating IR from tensorflow... INFO: Cleaning unused dumped files... Traceback (most recent call last): File "../src/LeFlow", line 195, in
run_leflow(args.file_name,tool_path)
File "../src/LeFlow", line 79, in run_leflow
shutil.copy(project_folder+"ir/ir-cluster_0XlaCompiledKernel_true__XlaNumConstantArgs_0XlaNumResourceArgs_0module-with-opt.ll",project_folder+project_name+"_ir_1.ll")
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '01_vecmul_a/01_vecmul_a_files/ir/ir-cluster_0XlaCompiledKernel_trueXlaNumConstantArgs_0__XlaNumResourceArgs_0module-with-opt.ll'