I have managed to successfully install LeFlow with the modified version of TensorFlow. I ran the run_test.py file with no errors.
Now, I wrote a graph that I used for my research and I would like to transform it in hardware for testing.
I get the following error:
legup@legup-vm:~/LeFlow/test$ ../../src/LeFlow my_model.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: 'my_model_files/ir/ir-cluster_0__XlaCompiledKernel_trueXlaNumConstantArgs_0__XlaNumResourceArgs_0__module-with-opt.ll'
I have seen a few people with this error in the issues but I have not been able to fix my error with their solutions.
Hi again!
I have managed to successfully install LeFlow with the modified version of TensorFlow. I ran the run_test.py file with no errors.
Now, I wrote a graph that I used for my research and I would like to transform it in hardware for testing.
I get the following error: legup@legup-vm:~/LeFlow/test$ ../../src/LeFlow my_model.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: 'my_model_files/ir/ir-cluster_0__XlaCompiledKernel_trueXlaNumConstantArgs_0__XlaNumResourceArgs_0__module-with-opt.ll'
I have seen a few people with this error in the issues but I have not been able to fix my error with their solutions.
I can supply my code if necessary.
Thank you for your help!