Discussions
question on sample code
on your sample code
you did
from opendeep.data.dataset import TEST
but the TEST is not under dataset package
I found "opendeeptest.MNIST.test_inputs"
Is it right ?
but I got the same error again
Traceback (most recent call last):
File "E:\project_luna\cuda\open_deep\test\opendeeptest2.py", line 7, in <module>
from test import opendeeptest
File "E:\project_luna\cuda\open_deep\test\opendeeptest.py", 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\autoencoder.py", line 152, in __init__
**{arg: val for (arg, val) in locals().iteritems() if arg is not 'self'}
AttributeError: 'dict' object has no attribute 'iteritems'
Posted by kwang nam almost 9 years ago
Is it support python 2.7 and 3.4 ?
Hi
I tested your packages and got a problem , It works well on Python 2.7 but not on Python 3.4 like this
when use Python 3.4
from . import version
ImportError: cannot import name 'version'
ERROR: Module: test.opendeeptest could not be imported (file: E:/project_luna/cuda/open_deep/test/opendeeptest.py).
Importing test modules ... done.
Any suggestion ?
Posted by kwang nam almost 9 years ago
running samples
after install your packages and copied under site_packages
when I run your sample code I got these errors
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\elliotnam>python
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from opendeep.log import config_root_logger
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "f:\dd\opendeep\opendeep\__init__.py", line 15, in <module>
from . import data
File "f:\dd\opendeep\opendeep\data\__init__.py", line 8, in <module>
from .standard_datasets import *
File "f:\dd\opendeep\opendeep\data\standard_datasets\__init__.py", line 4, in <module>
from .midi import *
File "f:\dd\opendeep\opendeep\data\standard_datasets\midi\__init__.py", line 3, in <module>
from .jsb_chorales import JSBChorales
File "f:\dd\opendeep\opendeep\data\standard_datasets\midi\jsb_chorales.py", line 14, in <module>
from opendeep.utils.midi import midiread
File "f:\dd\opendeep\opendeep\utils\midi\__init__.py", line 15, in <module>
from MidiOutFile import MidiOutFile
ImportError: No module named 'MidiOutFile'
>>> from opendeep.data import MNIST
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "f:\dd\opendeep\opendeep\__init__.py", line 7, in <module>
from . import version
ImportError: cannot import name 'version'
>>> from opendeep.models import DenoisingAutoencoder
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "f:\dd\opendeep\opendeep\__init__.py", line 7, in <module>
from . import version
ImportError: cannot import name 'version'
>>> from opendeep.optimization import AdaDelta
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "f:\dd\opendeep\opendeep\__init__.py", line 7, in <module>
from . import version
ImportError: cannot import name 'version'
>>>
Posted by kwang nam almost 9 years ago
More about OpenDeep?
Is there any information or an "about" page to learn more about your organization?
Posted by S.A. Krig almost 9 years ago