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
Hello :)
I tried run demo.py in CPU mode), I modified file:
#cfg.GPU_ID = args.gpu_id #caffe.set_mode_gpu() #caffe.set_device(args.gpu_id) caffe.set_mode_cpu()
and I got the following problem:
root@adrian-H81M-S2V:/home/adrian/magisterka/SSH# sudo python3 demo.py #################### Configuration #################### TEST{ ORIG_SIZE: False SCALES: [500, 800, 1200, 1600] MAX_SIZE: -1 PYRAMID_BASE_SIZE: [800, 1200] NMS_THRESH: 0.3 N_DETS_PER_MODULE: 1000 ANCHOR_MIN_SIZE: 0 } DEBUG: False PIXEL_MEANS: [[[102.9801 115.9465 122.7717]]] RNG_SEED: 3 EPS: 1e-14 DATA_DIR: /home/adrian/magisterka/SSH/data MATLAB: matlab EXP_DIR: ssh_pyramid USE_GPU_NMS: True GPU_ID: 0 ROOT_DIR: /home/adrian/magisterka/SSH ####################################################### File "/home/adrian/magisterka/SSH/SSH/layers/proposal_layer.py", line 39 print 'feat_stride: {}'.format(self._feat_stride) ^ SyntaxError: invalid syntax Loading the network...Traceback (most recent call last): File "demo.py", line 50, in net = caffe.Net(args.prototxt, args.model, caffe.TEST) SystemError: <Boost.Python.function object at 0x32b9570> returned NULL without setting an error
What could be wrong?
Best regards, Adrian
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello :)
I tried run demo.py in CPU mode), I modified file:
Loading the network
#cfg.GPU_ID = args.gpu_id
#caffe.set_mode_gpu()
#caffe.set_device(args.gpu_id)
caffe.set_mode_cpu()
and I got the following problem:
root@adrian-H81M-S2V:/home/adrian/magisterka/SSH# sudo python3 demo.py
#################### Configuration ####################
TEST{
ORIG_SIZE: False
SCALES: [500, 800, 1200, 1600]
MAX_SIZE: -1
PYRAMID_BASE_SIZE: [800, 1200]
NMS_THRESH: 0.3
N_DETS_PER_MODULE: 1000
ANCHOR_MIN_SIZE: 0
}
DEBUG: False
PIXEL_MEANS: [[[102.9801 115.9465 122.7717]]]
RNG_SEED: 3
EPS: 1e-14
DATA_DIR: /home/adrian/magisterka/SSH/data
MATLAB: matlab
EXP_DIR: ssh_pyramid
USE_GPU_NMS: True
GPU_ID: 0
ROOT_DIR: /home/adrian/magisterka/SSH
#######################################################
File "/home/adrian/magisterka/SSH/SSH/layers/proposal_layer.py", line 39
print 'feat_stride: {}'.format(self._feat_stride)
^
SyntaxError: invalid syntax
Loading the network...Traceback (most recent call last):
File "demo.py", line 50, in
net = caffe.Net(args.prototxt, args.model, caffe.TEST)
SystemError: <Boost.Python.function object at 0x32b9570> returned NULL without setting an error
What could be wrong?
Best regards,
Adrian
The text was updated successfully, but these errors were encountered: