Closed fabiovito closed 6 years ago
Hi, Could you provide more information on when exactly this happened and what your environment and software versions were?
i work on ubuntu 16.04LTS 64bit virtualized with vitualbox. this is the issue:
Detected a hypervisor/virtualization technology. Some metrics might not be available due to configuration or availability of virtual hardware features. Number of physical cores: 4 Number of logical cores: 4 Number of online logical cores: 4 Threads (logical cores) per physical core: 1 Num sockets: 1 Physical cores per socket: 4 Core PMU (perfmon) version: 0 Number of core PMU generic (programmable) counters: 0 Width of generic (programmable) counters: 0 bits Can not access CPUs Model Specific Registers (MSRs). Try to execute 'modprobe msr' as root user and then you also must have read and write permissions for /dev/cpu//msr devices (/dev/msr for Android). The 'chown' command can help. Segmentation fault (core dumped)
Did you try runningsudo modprobe msr
as suggested by the error message?
fail agains but after... fabio@fabio-VirtualBox:~/cnn/fast-xnor-net/fast-xnor-net/bin(master)> sudo modprobe msr
Current working dir: /home/fabio/cnn/fast-xnor-net/fast-xnor-net/bin
Train image file: //home//fabio//cnn//fast-xnor-net//fast-xnor-net//bin//data//train-images.idx3-ubyte Train label file: //home//fabio//cnn//fast-xnor-net//fast-xnor-net//bin//data//train-labels.idx1-ubyte Test image file: //home//fabio//cnn//fast-xnor-net//fast-xnor-net//bin//data//t10k-images.idx3-ubyte Test label file: //home//fabio//cnn//fast-xnor-net//fast-xnor-net//bin//data//t10k-labels.idx1-ubyte
Cannot open one of images or labels files!!number_of_images=0 number_of_labels=0 n_rows in each image=0 n_cols in each image=0
k=0, bias=0.000000 weights: -0.262, 0.791, -0.357, 0.592, -0.897, -0.871, 0.260, 0.789, -0.149, 0.084, 0.436, -0.696, -0.838, -0.763, 0.936, 0.471, 0.420, 0.613, -0.269, -0.409, -0.502, -0.388, 0.751, 0.044, 0.849,
k=1, bias=0.000000 weights: 0.582, 0.174, 0.032, -0.005, -0.086, -0.696, 0.139, 0.819, 0.893, -0.957, 0.254, -0.583, -0.222, 0.818, 0.233, 0.394, -0.952, -0.092, -0.580, -0.778, -0.038, -0.222, -0.590, 0.929, 0.129,
k=2, bias=0.000000 weights: 0.785, -0.346, 0.024, -0.700, 0.834, 0.509, 0.748, -0.796, 0.445, -0.937, -0.041, -0.697, -0.153, -0.304, -0.769, 0.969, 0.816, -0.921, 0.883, -0.682, 0.555, -0.945, 0.652, 0.143, -0.118,
Segmentation fault (core dumped)
Cannot open one of images or labels files!!number_of_images=0
number_of_labels=0
n_rows in each image=0
n_cols in each image=0
Please check where you have saved the image and label files.
Also, check if the program has permission to read the files chmod a+r <filename>
should help.
Additionally, please read the complete error message before reverting back.
I have a segmentation fault on shuffle() function. Why?