tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.26k stars 630 forks source link

Installation failure in Google Colaboratory (just for object detection) #326

Open LAnastasiia opened 3 years ago

LAnastasiia commented 3 years ago
...
Building wheels for collected packages: fcos
  Building wheel for fcos (setup.py): started
  Building wheel for fcos (setup.py): finished with status 'error'
  Running setup.py clean for fcos
Failed to build fcos
Installing collected packages: ninja, yacs, fcos
    Running setup.py install for fcos: started
    Running setup.py install for fcos: finished with status 'error'
  Running command git clone -q https://github.com/tianzhi0549/FCOS.git /tmp/pip-req-build-1cp7ak8g
  ERROR: Failed building wheel for fcos
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1cp7ak8g/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-1cp7ak8g/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-uzqgnm5x/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
bash: line 4: fcos: command not found

Following these instructions for testing-only installation.

sparshgarg23 commented 2 years ago

I am also facing the same problems. since colab uses cu 11 and torch 1.10 could that be an issue