tutorial 1 bug.. any help?

25 views
Skip to first unread message

איתי גיא

unread,
Dec 13, 2015, 11:51:24 AM12/13/15
to expresso-users
itay@ubuntu:~/expresso$ sh run_expresso.sh 
/home/itay/expresso ROOT
/home/itay/expresso
/home/itay/expresso
/home/itay/expresso
0
reached here
/home/itay/expresso/data
.gitignore
cifar10 .hdf5
cifar10 .hdf5
test_iter: 100
test_interval: 1000
base_lr: 0.001
display: 200
max_iter: 60000
lr_policy: "fixed"
momentum: 0.9
weight_decay: 0.004
snapshot: 10000
snapshot_prefix: ""
solver_mode: GPU
net: ""


layer {
  name: "default"
  type: "HDF5Data"
  top: "data"
  top: "label"
  include {
    phase: TRAIN
  }
  transform_param {
  }
  hdf5_data_param {
    source: "train.txt"
    batch_size: 100
  }
}
layer {
  name: "default"
  type: "HDF5Data"
  top: "data"
  top: "label"
  include {
    phase: TEST
  }
  transform_param {
  }
  hdf5_data_param {
    source: "test.txt"
    batch_size: 100
  }
}


name: "Default"
input: "data"
input_dim: 64
input_dim: 1
input_dim: 28
input_dim: 28

IDX:  None
.gitignore
FIRST 
Updating Checkable List Widget

Filling the comboBox for Models
/home/itay/expresso/res/data/help/helpBarData0.jpg
0
test_iter: 100
test_interval: 1000
base_lr: 0.001
display: 200
max_iter: 60000
lr_policy: "fixed"
momentum: 0.9
weight_decay: 0.004
snapshot: 10000
snapshot_prefix: ""
solver_mode: GPU
net: ""

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 309, in paint
    self.render()
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 301, in render
    argb, alpha = fn.makeARGB(image.transpose((1, 0, 2)[:image.ndim]), lut=lut, levels=self.levels)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 942, in makeARGB
    data = rescaleData(data, scale/(maxVal-minVal), minVal, dtype=int)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 828, in rescaleData
    d2 *= scale
TypeError: Cannot cast ufunc multiply output from dtype('float64') to dtype('int64') with casting rule 'same_kind'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 309, in paint
    self.render()
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 301, in render
    argb, alpha = fn.makeARGB(image.transpose((1, 0, 2)[:image.ndim]), lut=lut, levels=self.levels)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 942, in makeARGB
    data = rescaleData(data, scale/(maxVal-minVal), minVal, dtype=int)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 828, in rescaleData
    d2 *= scale
TypeError: Cannot cast ufunc multiply output from dtype('float64') to dtype('int64') with casting rule 'same_kind'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 309, in paint
    self.render()
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 301, in render
    argb, alpha = fn.makeARGB(image.transpose((1, 0, 2)[:image.ndim]), lut=lut, levels=self.levels)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 942, in makeARGB
    data = rescaleData(data, scale/(maxVal-minVal), minVal, dtype=int)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 828, in rescaleData
    d2 *= scale
TypeError: Cannot cast ufunc multiply output from dtype('float64') to dtype('int64') with casting rule 'same_kind'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 309, in paint
    self.render()
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ImageItem.py", line 301, in render
    argb, alpha = fn.makeARGB(image.transpose((1, 0, 2)[:image.ndim]), lut=lut, levels=self.levels)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 942, in makeARGB
    data = rescaleData(data, scale/(maxVal-minVal), minVal, dtype=int)
  File "/usr/local/lib/python2.7/dist-packages/pyqtgraph/functions.py", line 828, in rescaleData
    d2 *= scale
TypeError: Cannot cast ufunc multiply output from dtype('float64') to dtype('int64') with casting rule 'same_kind'
Reply all
Reply to author
Forward
0 new messages