I'm trying to run this github repo on my machine but I faced this issue
Also, I tried to use different h5py version but without getting any benefit
can anyone help me?
Related
I am new in PIC design and I want to make a simple GDSII design following this script:
https://github.com/BYUCamachoLab/simphony/blob/master/examples/layout_aware.py
which uses gdsfactory and simphony libraries but I consistently encounter this error when I am building a cell:
AttributeError: 'gdstk.Cell' object has no attribute 'get_polygons'
This problem appears when I try to call the grating coupler or the waveguides as a component. On the other hand, the Ybranch (splitters) work just fine.
I have downloaded all the latest versions of gdstk, gdsfactory and simphony but cannot make it work.
Do you know how to overcome this issue? What am I missing?
Thanks!
Solved. In case anybody finds in the same situation, the problem was with the gdstk library. For whatever reason, the version installed could not be changed and it remained always in 7.0.
By reinstalling Anaconda, the gdstk latest version could be installed without issues, and from there the program worked.
I´m trying to run a reinforcement learning algorithm for a production line optimization. As an engineering student I am not very familiar with coding so I´m looking for help from you guys.
I get this error when trying to train the agent: AttributeError: Can't get attribute 'RandomNumberGenerator._generator_ctor' on <module 'gym.utils.seeding'
I´m curious because it doesn´t seem to be related to my code but gym (Can be totally wrong though).
Any ideas? If you need further information about the problem please tell me. Idk whats necessary to know.
I use Python 3.9 on VS on Windows 10 if that helps
Thx for any help :)
I was running the agents training. It started the local ray instance for the training but then the forementioned error popped up
According to my experience, you should try to use gym version 0.25.2 or below (just use pip install gym==0.25.2) because some modules might be deprecated such as mentioned in this page.
Or, you can use version 0.25.1, as mentioned here.
I just started with Python. I had watched a video on youtube about googletrans library, when I tried it on my VS Code, I had this issue. Can anyone help me?
P/s: This is the link to the video that I have watched: https://www.youtube.com/watch?v=IBqLWm47mjM
Thanks all.
[enter image description here][1]
[1]: https://i.stack.imgur.com/JQjVC.png
This issue has related to the package release, it is not related to you or your system, you can use this specific version to preventing from the issue: 4.0.0rc1
pip install googletrans==4.0.0rc1
Also, you can find more solutions here:
googletrans stopped working with error 'NoneType' object has no attribute 'group'
I have been working with the project tf-lcnn (https://github.com/ildoonet/tf-lcnn). I have built tensorflow from sources (1.4.1) and I am using python3 to run the command python3 train.py. This issue is that when I run said command I get:
AttributeError: 'LookupAlignConvolution2d' object has no attribute '_convolution_op'
I have tried tensorflow versions(1.3 and 1.4) and nothing gets the project to work. The custom_op was linked properly and works. The instructions from the project don't state that you have to follow his instructions first then build tensorflow. He also doesn't express the configuration build that he used.
I have tried some different approaches but I am sure there is something I am missing or doing wrong. Any help would be appreciated. I can post additional information upon request. Thanks in advance!
I've just installed tensorflow-gpu (1.0) with pip on a new system (after installing cuda and cudnn, obviously).
Unfortunately, my code (working well on cpu with tensorflow 0.12), now throws
AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'stack_bidirectional_dynamic_rnn'
When trying to call tf.contrib.rnn.stack_bidirectional_dynamic_rnn.
Moreover, the function is present in /path/to/python3.5/dist-packages/tensorflow/contrib/rnn/python/ops/rnn.py and seems to be imported in .../tensorflow/contrib/rnn/__init__.py.
Any ideas ?
P.S.: Downgrade to 0.12 (pip install tensorflow-gpu==0.12) resolve my issue, but that a bit disappointing :/
Oh, that's an error in the tensorflow code. Sorry about that. Please add an entry here listing ##stack_bidirectional_rnn here so that stack_bidirectional_rnn is exposed. Fix coming up. Feel free to open a github issue on our page and CC drpng there if you want to track progress.