forked from dmlc/dgl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Model] Junction Tree VAE update (dmlc#157)
* cherry picking optimization from jtnn * adding official code. TODO: fix DGLMolTree * updating to current api. vae test still failing * reverting to list stacking * reverting to list stacking * cleaning x flags (stupid windows) * cleaning x flags (stupid windows) * adding stats * optimization * updating dgl stats * update again * more optimization * looks like computation is faster * removing profiling code * cleaning obsolete code * remove comparison warning * readme update * official implementation got a lot faster * minor fixes * unbatch by slicing frames * working around unbatch * reduce pack * oops * support frame read/write with slices * reverting back to readout as unbatch-by-slicing slows down backward * reverting to unbatch by splitting; slicing is unfriendly to backward * replacing lru cache with static object factory * cherry picking optimization from jtnn * unbatch by slicing frames * reduce pack * oops * support frame read/write with slices * reverting to unbatch by splitting; slicing is unfriendly to backward * replacing lru cache with static object factory * replacing Scheme object with namedtuple * forgot the find edges interface * subclassing namedtuple * updating to the latest api spec * bugfix * bfs with edges * dfs toy test case * clean up * style fix * bugfix * update to latest api; include traversal * replacing with readout * simplify decoder * oops * cleanup * reducing number of sets * more speed up * profile results * random fixes * fixing tvmarray handling incontiguous dlpack input * fancier dataloader * fix a potential context mismatch * todo: support pickling or using scipy in multiprocessing load * pickling support * resorting to suggested way of pickling * custom attribute pickling check * working around a weird pytorch pickling bug * including partial frame case * enabling multiprocessing dataloader * pickling everything now * really works * oops * updated profiling results * cleanup * fix as requested * cleaning random blank lines * removing profiler outputs * starting decoding * testing, WIP * tree decoding * graph decoding, WIP * graph decoding works * oops * fixing legacy apis * trimming number of candidate structures * sampling cleanups * removing comparison test * updated description
- Loading branch information
Showing
12 changed files
with
937 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
from .mol_tree import Vocab | ||
from .jtnn_vae import DGLJTNNVAE | ||
from .mpn import DGLMPN, mol2dgl | ||
from .nnutils import create_var | ||
from .datautils import JTNNDataset | ||
from .mpn import DGLMPN | ||
from .nnutils import create_var, cuda | ||
from .datautils import JTNNDataset, JTNNCollator | ||
from .chemutils import decode_stereo | ||
from .line_profiler_integration import profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.