roytseng-tw / Detectron.pytorch

A pytorch implementation of Detectron. Both training from scratch and inferring directly from pretrained Detectron weights are available.
MIT License
2.82k stars 565 forks source link

Multiple reports of problems with "sh make.sh" building. #87

Open phalexo opened 6 years ago

phalexo commented 6 years ago

It appears that in most case reported, the script is unable to locate some resource.

What should PYTHONPATH be, for example, to find appropriate files in pytorch, etc...?

phalexo commented 6 years ago

(pytorch) developer@theano:~/Detectron.pytorch$ python tools/train_net_step.py --dataset coco2017 --cfg configs/baselines/e2e_mask_rcnn_R-50-C4.yml --use_tfboard --bs 128 --nw 16 Traceback (most recent call last): File "tools/train_net_step.py", line 27, in from modeling.model_builder import Generalized_RCNN File "/home/developer/Detectron.pytorch/lib/modeling/model_builder.py", line 12, in from model.roi_crop.functions.roi_crop import RoICropFunction File "/home/developer/Detectron.pytorch/lib/model/roi_crop/functions/roi_crop.py", line 4, in from .._ext import roi_crop File "/home/developer/Detectron.pytorch/lib/model/roi_crop/_ext/roi_crop/init.py", line 3, in from ._roi_crop import lib as _lib, ffi as _ffi ModuleNotFoundError: No module named 'model.roi_crop._ext.roi_crop._roi_crop'

phalexo commented 6 years ago

Pytorch source was changed. Have to use functuons to get sizes instead of ->

On Jul 11, 2018 6:27 PM, "Yury Namgung" notifications@github.com wrote:

i have this same problem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/roytseng-tw/Detectron.pytorch/issues/87#issuecomment-404330271, or mute the thread https://github.com/notifications/unsubscribe-auth/AEY95fRAJVuwUq0B-NRQt0cuHOOXNnHKks5uFnvegaJpZM4Un53j .