error lists I found

Posted in General by kwang nam Mon Jul 27 2015 23:24:20 GMT+0000 (Coordinated Universal Time)·3·Viewed 5,986 times

hi thanks again your quick response I got latest one and I still got these error Please check 1) print () issues, example) print len(self.cifar.train_inputs) --> print (len(self.cifar.train_inputs)) 2) raise () issues, example) raise TypeError, "It is not a valid midi file!" -> raise (TypeError, "It is not a valid midi file!") 3) packaage Path issues,,RawOutstreamFile,MidiInFile,RawInstreamFile,MidiFileParser, EventDispatcher example) from MidiOutFile import MidiOutFile --> from opendeep.utils.midi.MidiOutFile import MidiOutFile 4) unused packages in python 3 issues, RawInstreamFile, MIdiFileParser from types import StringType from cStringIO import StringIO 5) MidiOutFile,EventDispatcher from constants import * --> from . import constants 6) rnn_gsn,rnn_rbm cPickle is not used in python 3.4 import cPickle as pickle --> import pickle 7) not used I commented from itertools import izip 8) mnist I got this error File "E:\project_luna\cuda\open_deep\test\", line 23, in <module> mnist = MNIST() File "F:\python34\python-3.4.3.amd64\lib\site-packages\opendeep-0.0.9a0-py3.4.egg\opendeep\data\standard_datasets\image\", line 68, in __init__, 'rb') UnicodeDecodeError: 'ascii' codec can't decode byte 0x90 in position 614: ordinal not in range(128) so I changed the code like this, 'rb'),encoding='iso-8859-1' 9) I still get this error from test import opendeeptest File "E:\project_luna\cuda\open_deep\test\", line 39, in <module> dae = DenoisingAutoencoder(**config) File "F:\python34\python-3.4.3.amd64\lib\site-packages\opendeep-0.0.9a0-py3.4.egg\opendeep\models\single_layer\", line 152, in __init__ **{arg: val for (arg, val) in locals().iteritems() if arg is not 'self'} AttributeError: 'dict' object has no attribute 'iteritems'
July 27, 2015

Thanks for this list! I'm working on fixing all the compatibility errors - most likely will finish by tomorrow. Could you also reinstall from the latest Github version? The error 9) had been fixed to use items() rather than iteritems(). Thanks!

July 28, 2015

error 9) is gone thx

Aug 3, 2015

They should be all fixed! Let me know if you run into more issues :)

marked this as solved
Markdown is allowed