We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi unsky,when i run ./experiments/scripts/FP_Net_end2end.sh 1 VGG16 pascal_voc,i have got the error: ++ set -e ++ export PYTHONUNBUFFERED=True ++ PYTHONUNBUFFERED=True ++ GPU_ID=0 ++ NET=VGG16 ++ NET_lc=vgg16 ++ DATASET=pascal_voc ++ array=($@) ++ len=3 ++ EXTRA_ARGS= ++ EXTRA_ARGS_SLUG= ++ case $DATASET in ++ TRAIN_IMDB=voc_2007_trainval ++ TEST_IMDB=voc_2007_test ++ PT_DIR=pascal_voc ++ ITERS=150000 +++ date +%Y-%m-%d_%H-%M-%S ++ LOG=experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27 ++ exec +++ tee -a experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27 tee: experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27: No such file or directory ++ echo Logging output to experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27 Logging output to experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27 ++ ./tools/train_net.py --gpu 0 --solver models/pascal_voc/VGG16/FP_Net_end2end/solver.prototxt Called with args: Namespace(cfg_file=None, gpu_id=0, imdb_name='voc_2007_trainval', max_iters=40000, pretrained_model=None, randomize=False, set_cfgs=None, solver='models/pascal_voc/VGG16/FP_Net_end2end/solver.prototxt') Using config: {'DATA_DIR': '/home/tanglin/FPN-master/data', 'DEDUP_BOXES': -1, 'EPS': 1e-14, 'EXP_DIR': 'default', 'GPU_ID': 0, 'MATLAB': 'matlab', 'MODELS_DIR': '/home/tanglin/FPN-master/models/pascal_voc', 'PIXEL_MEANS': array([[[ 102.9801, 115.9465, 122.7717]]]), 'RNG_SEED': 3, 'ROOT_DIR': '/home/tanglin/FPN-master', 'TEST': {'BBOX_REG': True, 'HAS_RPN': False, 'MAX_SIZE': 520, 'NMS': 0.3, 'PROPOSAL_METHOD': 'rpn', 'RPN_MIN_SIZE': 16, 'RPN_NMS_THRESH': 0.7, 'RPN_POST_NMS_TOP_N': 2000, 'RPN_PRE_NMS_TOP_N': 6000, 'SCALES': [375], 'SVM': False}, 'TRAIN': {'ASPECT_GROUPING': True, 'BATCH_SIZE': 128, 'BBOX_INSIDE_WEIGHTS': [1.0, 1.0, 1.0, 1.0], 'BBOX_NORMALIZE_MEANS': [0.0, 0.0, 0.0, 0.0], 'BBOX_NORMALIZE_STDS': [0.1, 0.1, 0.2, 0.2], 'BBOX_NORMALIZE_TARGETS': True, 'BBOX_NORMALIZE_TARGETS_PRECOMPUTED': False, 'BBOX_REG': True, 'BBOX_THRESH': 0.7, 'BG_THRESH_HI': 0.5, 'BG_THRESH_LO': 0.0, 'FG_FRACTION': 0.25, 'FG_THRESH': 0.5, 'HAS_RPN': False, 'IMS_PER_BATCH': 2, 'MAX_SIZE': 520, 'PROPOSAL_METHOD': 'rpn', 'RPN_BATCHSIZE': 256, 'RPN_BBOX_INSIDE_WEIGHTS': [1.0, 1.0, 1.0, 1.0], 'RPN_CLOBBER_POSITIVES': False, 'RPN_FG_FRACTION': 0.5, 'RPN_MIN_SIZE': 0, 'RPN_NEGATIVE_OVERLAP': 0.3, 'RPN_NMS_THRESH': 0.7, 'RPN_POSITIVE_OVERLAP': 0.7, 'RPN_POSITIVE_WEIGHT': -1.0, 'RPN_POST_NMS_TOP_N': 2000, 'RPN_PRE_NMS_TOP_N': 12000, 'SCALES': [375], 'SNAPSHOT_INFIX': '', 'SNAPSHOT_ITERS': 5000, 'USE_FLIPPED': True, 'USE_PREFETCH': False}, 'USE_GPU_NMS': True} Loaded dataset voc_2007_trainval for training Set proposal method: rpn Appending horizontally-flipped training examples... voc_2007_trainval gt roidb loaded from /home/tanglin/FPN-master/data/cache/voc_2007_trainval_gt_roidb.pkl loading None Traceback (most recent call last): File "./tools/train_net.py", line 104, in imdb, roidb = combined_roidb(args.imdb_name) File "./tools/train_net.py", line 69, in combined_roidb roidbs = [get_roidb(s) for s in imdb_names.split('+')] File "./tools/train_net.py", line 66, in get_roidb roidb = get_training_roidb(imdb) File "/home/tanglin/FPN-master/tools/../lib/fast_rcnn/train.py", line 118, in get_training_roidb imdb.append_flipped_images() File "/home/tanglin/FPN-master/tools/../lib/datasets/imdb.py", line 106, in append_flipped_images boxes = self.roidb[i]['boxes'].copy() File "/home/tanglin/FPN-master/tools/../lib/datasets/imdb.py", line 67, in roidb self._roidb = self.roidb_handler() File "/home/tanglin/FPN-master/tools/../lib/datasets/pascal_voc.py", line 141, in rpn_roidb rpn_roidb = self._load_rpn_roidb(gt_roidb) File "/home/tanglin/FPN-master/tools/../lib/datasets/pascal_voc.py", line 151, in _load_rpn_roidb assert os.path.exists(filename), File "/usr/lib/python2.7/genericpath.py", line 18, in exists os.stat(path) TypeError: coercing to Unicode: need string or buffer, NoneType found
voc_2007_trainval
but when i run faster_rcnn_alt_opt.sh,it is ok? how can i solve it?
The text was updated successfully, but these errors were encountered:
check your filename
Sorry, something went wrong.
No branches or pull requests
hi unsky,when i run ./experiments/scripts/FP_Net_end2end.sh 1 VGG16 pascal_voc,i have got the error:
++ set -e
++ export PYTHONUNBUFFERED=True
++ PYTHONUNBUFFERED=True
++ GPU_ID=0
++ NET=VGG16
++ NET_lc=vgg16
++ DATASET=pascal_voc
++ array=($@)
++ len=3
++ EXTRA_ARGS=
++ EXTRA_ARGS_SLUG=
++ case $DATASET in
++ TRAIN_IMDB=voc_2007_trainval
++ TEST_IMDB=voc_2007_test
++ PT_DIR=pascal_voc
++ ITERS=150000
+++ date +%Y-%m-%d_%H-%M-%S
++ LOG=experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27
++ exec
+++ tee -a experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27
tee: experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27: No such file or directory
++ echo Logging output to experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27
Logging output to experiments/logs/faster_rcnn_end2end_VGG16_.txt.2017-11-04_19-35-27
++ ./tools/train_net.py --gpu 0 --solver models/pascal_voc/VGG16/FP_Net_end2end/solver.prototxt
Called with args:
Namespace(cfg_file=None, gpu_id=0, imdb_name='voc_2007_trainval', max_iters=40000, pretrained_model=None, randomize=False, set_cfgs=None, solver='models/pascal_voc/VGG16/FP_Net_end2end/solver.prototxt')
Using config:
{'DATA_DIR': '/home/tanglin/FPN-master/data',
'DEDUP_BOXES': -1,
'EPS': 1e-14,
'EXP_DIR': 'default',
'GPU_ID': 0,
'MATLAB': 'matlab',
'MODELS_DIR': '/home/tanglin/FPN-master/models/pascal_voc',
'PIXEL_MEANS': array([[[ 102.9801, 115.9465, 122.7717]]]),
'RNG_SEED': 3,
'ROOT_DIR': '/home/tanglin/FPN-master',
'TEST': {'BBOX_REG': True,
'HAS_RPN': False,
'MAX_SIZE': 520,
'NMS': 0.3,
'PROPOSAL_METHOD': 'rpn',
'RPN_MIN_SIZE': 16,
'RPN_NMS_THRESH': 0.7,
'RPN_POST_NMS_TOP_N': 2000,
'RPN_PRE_NMS_TOP_N': 6000,
'SCALES': [375],
'SVM': False},
'TRAIN': {'ASPECT_GROUPING': True,
'BATCH_SIZE': 128,
'BBOX_INSIDE_WEIGHTS': [1.0, 1.0, 1.0, 1.0],
'BBOX_NORMALIZE_MEANS': [0.0, 0.0, 0.0, 0.0],
'BBOX_NORMALIZE_STDS': [0.1, 0.1, 0.2, 0.2],
'BBOX_NORMALIZE_TARGETS': True,
'BBOX_NORMALIZE_TARGETS_PRECOMPUTED': False,
'BBOX_REG': True,
'BBOX_THRESH': 0.7,
'BG_THRESH_HI': 0.5,
'BG_THRESH_LO': 0.0,
'FG_FRACTION': 0.25,
'FG_THRESH': 0.5,
'HAS_RPN': False,
'IMS_PER_BATCH': 2,
'MAX_SIZE': 520,
'PROPOSAL_METHOD': 'rpn',
'RPN_BATCHSIZE': 256,
'RPN_BBOX_INSIDE_WEIGHTS': [1.0, 1.0, 1.0, 1.0],
'RPN_CLOBBER_POSITIVES': False,
'RPN_FG_FRACTION': 0.5,
'RPN_MIN_SIZE': 0,
'RPN_NEGATIVE_OVERLAP': 0.3,
'RPN_NMS_THRESH': 0.7,
'RPN_POSITIVE_OVERLAP': 0.7,
'RPN_POSITIVE_WEIGHT': -1.0,
'RPN_POST_NMS_TOP_N': 2000,
'RPN_PRE_NMS_TOP_N': 12000,
'SCALES': [375],
'SNAPSHOT_INFIX': '',
'SNAPSHOT_ITERS': 5000,
'USE_FLIPPED': True,
'USE_PREFETCH': False},
'USE_GPU_NMS': True}
Loaded dataset
voc_2007_trainval
for trainingSet proposal method: rpn
Appending horizontally-flipped training examples...
voc_2007_trainval gt roidb loaded from /home/tanglin/FPN-master/data/cache/voc_2007_trainval_gt_roidb.pkl
loading None
Traceback (most recent call last):
File "./tools/train_net.py", line 104, in
imdb, roidb = combined_roidb(args.imdb_name)
File "./tools/train_net.py", line 69, in combined_roidb
roidbs = [get_roidb(s) for s in imdb_names.split('+')]
File "./tools/train_net.py", line 66, in get_roidb
roidb = get_training_roidb(imdb)
File "/home/tanglin/FPN-master/tools/../lib/fast_rcnn/train.py", line 118, in get_training_roidb
imdb.append_flipped_images()
File "/home/tanglin/FPN-master/tools/../lib/datasets/imdb.py", line 106, in append_flipped_images
boxes = self.roidb[i]['boxes'].copy()
File "/home/tanglin/FPN-master/tools/../lib/datasets/imdb.py", line 67, in roidb
self._roidb = self.roidb_handler()
File "/home/tanglin/FPN-master/tools/../lib/datasets/pascal_voc.py", line 141, in rpn_roidb
rpn_roidb = self._load_rpn_roidb(gt_roidb)
File "/home/tanglin/FPN-master/tools/../lib/datasets/pascal_voc.py", line 151, in _load_rpn_roidb
assert os.path.exists(filename),
File "/usr/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
but when i run faster_rcnn_alt_opt.sh,it is ok?
how can i solve it?
The text was updated successfully, but these errors were encountered: