Question/Issue:
When I call the train.py from my local repository, it leads to an error in ctypes:
Traceback (most recent call last):
File “d:/TinyAIoT/TinyAIoT_test/ei-plant-detection-large_clone-transfer-learning/train.py”, line 62, in
import ei_tensorflow.conversion
File “D:\TinyAIoT\TinyAIoT_test\ei-plant-detection-large_clone-transfer-learning./resources/libraries\ei_tensorflow\conversion.py”, line 8, in
from ei_tensorflow.filter_outputs import output_redirector, print_filtered_output
File “D:\TinyAIoT\TinyAIoT_test\ei-plant-detection-large_clone-transfer-learning./resources/libraries\ei_tensorflow\filter_outputs.py”, line 5, in
libc = ctypes.CDLL(None)
File “D:\Anaconda\envs\py_38_tensor\lib\ctypes_init_.py”, line 363, in init
if ‘/’ in name or ‘\’ in name:
TypeError: argument of type ‘NoneType’ is not iterable
Project ID:
487864
Summary:
Error in ctypes because libc = ctypes.CDLL(None) is declared in filter_outputs.py in ei_tensorflow and None is not iterable in CDLL init file.
Steps to Reproduce:
- Export Transfer Learning for local editting.
- run train.py
Reproducibility:
- [ ] Always
2.0.4]
- OS Version: Windows 11