Commit
·
040be6f
1
Parent(s):
b47351f
Testing new come
Browse files- __pycache__/model_compiler.cpython-310.pyc +0 -0
- hello_world.tflite +0 -0
- model_compiler.py +2 -0
__pycache__/model_compiler.cpython-310.pyc
ADDED
|
Binary file (1.58 kB). View file
|
|
|
hello_world.tflite
CHANGED
|
Binary files a/hello_world.tflite and b/hello_world.tflite differ
|
|
|
model_compiler.py
CHANGED
|
@@ -55,6 +55,8 @@ class model_compiler:
|
|
| 55 |
for file in files:
|
| 56 |
print(f' {file}')
|
| 57 |
|
|
|
|
|
|
|
| 58 |
success, result = self.run_cmd('python infer_code_gen.py -t .\hello_world.tflite')
|
| 59 |
#print(f'Run vela --version, foound {success}:{result}')
|
| 60 |
|
|
|
|
| 55 |
for file in files:
|
| 56 |
print(f' {file}')
|
| 57 |
|
| 58 |
+
cmd = 'python -m "import os"'
|
| 59 |
+
result = subprocess.run(cmd, capture_output=True, text=True, check=True)
|
| 60 |
success, result = self.run_cmd('python infer_code_gen.py -t .\hello_world.tflite')
|
| 61 |
#print(f'Run vela --version, foound {success}:{result}')
|
| 62 |
|