argman / EAST

A tensorflow implementation of EAST text detector
GNU General Public License v3.0
3.01k stars 1.05k forks source link

FileNotFoundError: [WinError 2] The system cannot find the file specified #392

Open thitesh opened 1 year ago

thitesh commented 1 year ago

When I am running eval.py, getting following error.

[(base) D:\AAP\Text Detection\EAST Tensorflow\EAST-master>python eval.py --test_data_path=/tmp/images/ --gpu_list=0 --checkpoint_path=/tmp/east_icdar2015_resnet_v1_50_rbox/ --output_dir=/tmp/
Traceback (most recent call last):
  File "D:\AAP\Text Detection\EAST Tensorflow\EAST-master\eval.py", line 9, in <module>
    import lanms
  File "D:\AAP\Text Detection\EAST Tensorflow\EAST-master\lanms\__init__.py", line 7, in <module>
    if subprocess.call(['make', '-C', BASE_DIR]) != 0:  # return value
  File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 349, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified](url)
AzureYuki commented 7 months ago

windows下没有make命令,你需要安装一个MingGW并把mingw32make改为make(或是修改代码中的make)并把相应目录添加到环境变量