GithubHelp home page GithubHelp logo

atomistic-machine-learning / cg-schnet Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 14.0 4.73 MB

cG-SchNet - a conditional generative neural network for 3d molecular structures

License: MIT License

Python 100.00%

cg-schnet's People

Contributors

niklasgebauer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cg-schnet's Issues

AttributeError: Can't pickle local object 'preprocess_dataset.<locals>.<lambda>'

hi,Please ask me a question. I really run your code on the Windows platform. When I download the data and process it, the following problems occur. How can I solve them? You know, I look forward to your reply.
Pre-processing data...
INFO:root:Processed: 0 / 133885...
Traceback (most recent call last):
File "D:/py_project/cG-SchNet/gschnet_cond_script.py", line 976, in
main(args)
File "D:/py_project/cG-SchNet/gschnet_cond_script.py", line 861, in main
load_additionally=load_additionally)
File "D:\py_project\cG-SchNet\qm9_data.py", line 109, in init
units=self.units, download=download)
File "D:\software\Anaconda3\envs\cgschnet\lib\site-packages\schnetpack\datasets_init_.py", line 56, in init
self.download()
File "D:\software\Anaconda3\envs\cgschnet\lib\site-packages\schnetpack\datasets_init_.py", line 72, in download
self._download()
File "D:\py_project\cG-SchNet\qm9_data.py", line 225, in _download
works = works and self._preprocess_qm9()
File "D:\py_project\cG-SchNet\qm9_data.py", line 336, in _preprocess_qm9
invalid_list=invalid_list)
File "D:\py_project\cG-SchNet\preprocess_dataset.py", line 425, in preprocess_dataset
threads[-1].start()
File "D:\software\Anaconda3\envs\cgschnet\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "D:\software\Anaconda3\envs\cgschnet\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\software\Anaconda3\envs\cgschnet\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\software\Anaconda3\envs\cgschnet\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "D:\software\Anaconda3\envs\cgschnet\lib\multiprocessing\reduction.py", line 62, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'preprocess_dataset..'

Custom dataset

Hi,

I am wondering if it is possible to to have an option to use a custom dataset like in G-Schnet with a separate template class.

Thanks,
Victor

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.