Open IdoWSC opened 6 years ago
The class Layer
is defined in neurocity.component.layer
(at https://github.com/akosiorek/hart/blob/master/neurocity/component/layer.py) I assume the error has to do with how environment variables are set on your system. Can you try adding the hart folder to your PYTHONPATH?
Thx Adam, I have hart, neurocity, and component all added to PYTHONPATH. I also check layer.py and saw that in fact Layer is defined there. I'll need to check why does this problem occur.
By the way, has the script ever run on Windows and/or Python3+?
I have hart, neurocity, and component all added to PYTHONPATH
I have only hart in my PYTHONPATH; that might be the issue.
By the way, has the script ever run on Windows and/or Python3+?
I tested only on MacOS and Linux and Python 2.7
I think I found the source of the issue.
File "C:\Program Files\Anaconda3\Lib\site-packages\hart\hart\model\attention_ops.py", line 28, in
in hart\neurocity__init.py there is an import from component.model.base which first runs component/init__.py.
There there is an import from layer which runs component/model/init.py that calls for import from component.model.model base that is importing layer again that eventually imports base again and so on.
this infinite loop is whats causing this failure
The source for the issue when using Python3.3+ can be found here: import_traps
I have modified your package to comply with py3.3+ and tf1.3+ if it interests you guys contact me
Good job @IdoWSC. Sure, it'd be great to have. Would you like to submit a PR?
I run demo.ipynb,but I do not found result picture.
why not use plt.show()? I can not to show the picture.
Hi, I have a problem running the demo: ImportError Traceback (most recent call last)