When running install.sh it errors in step pip install -e mmdetection:
Obtaining file:///LineFormer/mmdetection
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/LineFormer/mmdetection/setup.py", line 192, in <module>
long_description=readme(),
File "/LineFormer/mmdetection/setup.py", line 17, in readme
with open('README.md', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
[end of output]
This PR includes formatting using black and a dirty fix to the described error which simply deletes the relevant line in setup.py (no impact on functionality).
When running
install.sh
it errors in steppip install -e mmdetection
:This PR includes formatting using black and a dirty fix to the described error which simply deletes the relevant line in setup.py (no impact on functionality).