Git Product home page Git Product logo

Comments (3)

aksub99 avatar aksub99 commented on August 19, 2024

Hi @muammar thanks for your question! Preprocessing was done using the preprocess.py script from https://github.com/maxhodak/keras-molecules. Let me know if you have any other questions!

from molecular-vae.

muammar avatar muammar commented on August 19, 2024

Hi @muammar thanks for your question! Preprocessing was done using the preprocess.py script from https://github.com/maxhodak/keras-molecules. Let me know if you have any other questions!

Thanks for your reply @aksub99 ! I tried using the repo you posted above and I get this error:

Traceback (most recent call last):
  File "preprocess.py", line 86, in <module>
    main()
  File "preprocess.py", line 59, in main
    h5f.create_dataset('charset', data = charset)
  File "/home/elkhatim/miniconda3/envs/py38/lib/python3.8/site-packages/h5py/_hl/group.py", line 136, in create_dataset
    dsid = dataset.make_new_dset(self, shape, dtype, data, **kwds)
  File "/home/elkhatim/miniconda3/envs/py38/lib/python3.8/site-packages/h5py/_hl/dataset.py", line 118, in make_new_dset
    tid = h5t.py_create(dtype, logical=1)
  File "h5py/h5t.pyx", line 1634, in h5py.h5t.py_create
  File "h5py/h5t.pyx", line 1656, in h5py.h5t.py_create
  File "h5py/h5t.pyx", line 1717, in h5py.h5t.py_create
TypeError: No conversion path for dtype: dtype('<U1')

I am asking you because it seems to me that keras-molecules is kind of abandoned... I wondered if you had any idea about this TypeError?

Best,

from molecular-vae.

aksub99 avatar aksub99 commented on August 19, 2024

I actually remember getting the same error when I had used the code. I can't recall exactly how I fixed it but I vaguely remember that in lines 35 and 38 of preprocess.py, I had made some simple typecasting fixes. So, I'd direct you towards those lines. Hope this helps!

from molecular-vae.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.