Open xkk110 opened 1 year ago
Could you please provide more details about your error? @xkk110
Thanking for your reply! I followed your installation. But when I installed detectron2 and ran plain_distill_net.py, the error was displayed. Could you provide a more detailed installation and "readme.md"?
Could I install detectron on cuda11.7?
It seems not the cuda version problem. @xkk110 Have you installed Detectron2 from the local code? If not, have a try.
rm -rf G2SD_det_dis/build/ **/*.so
python -m pip install -e G2SD_det_dis
Thanks for your reply! When I ran python -m pip install -e G2SD_det_dis, the error" ERROR: G2SD_det_dis is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file)."was displayed. Because it is my first time to use detectron, there maybe some problems. Thanks!我自己再重新安装detectron 试试
@Vickeyhw Hi, I have installed Detectron2 with the following commands: rm -rf G2SD_det_dis/build/ */.so python -m pip install -e G2SD_det_dis
But when I run the plain_distill_net.py, I get the error as: ModuleNotFoundError: No module named 'detectron2.data'
And I find that no data in G2SD_det_dis/detectron2/. How can I solve this problem?
I have reuploaded it. Please have a try again. @tzt101
@Vickeyhw Thanks. Again, I get another error as: RuntimeError: common/data/coco.py not available in Model Zoo!
It seems that no data in G2SD_det_dis/configs/common/.
@tzt101 Due to the wrong item being added in .gitignore file, these files are ignored during uploading. It has been fixed now.
@Vickeyhw Thank you for your kindly response! I have successfully run the training code.
Other small issues are: lacking '#' before 'All Rights Reserved' in detectron2/modeling/backbone/regnet.py and detectron2/modeling/backbone/utils.py.
How to solve ImportError: cannot import name 'build_lr_scheduler_distill' from 'detectron2.solver.lr_scheduler' ?