Skip to content

Update model URL - #484

Merged
zasdfgbnm merged 6 commits into
masterfrom
zasdfgbnm-patch-2
Jun 11, 2020
Merged

zasdfgbnm merged 6 commits into
masterfrom
zasdfgbnm-patch-2

Conversation

@zasdfgbnm

Copy link
Copy Markdown
Contributor

No description provided.

@zasdfgbnm
zasdfgbnm requested a review from farhadrgh as a code owner June 11, 2020 06:07
@zasdfgbnm

Copy link
Copy Markdown
Contributor Author

@farhadrgh Do you know why it is failing?

@farhadrgh farhadrgh left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It extracts into ani-model-zoo-ani-2x/resource/ which is not known by TorchANI. Instead, we want resources and we might want to extract only one member of the zip file by resource_zip.extractall(path=resource_path, members='ani-model-zoo-ani-2x/resource/')

Eventually, you might still end up using shutil to move/rename directories.

@isayev

isayev commented Jun 11, 2020

Copy link
Copy Markdown
Member

@farhadrgh let me know, happy to repackage each model individually if needed or change model zoo repo any way you need.

@farhadrgh

Copy link
Copy Markdown
Member

It keeps the head directory as ani-model-zoo-ani-2x even when we extract members. So one solution is to use shutil to move resources out of the head directory and then rm the ani-model-zoo-ani-2x. Another solution is changing the name of Github repo to resources.

@farhadrgh farhadrgh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zasdfgbnm
zasdfgbnm merged commit ac27ed3 into master Jun 11, 2020
@zasdfgbnm
zasdfgbnm deleted the zasdfgbnm-patch-2 branch June 11, 2020 19:45
IgnacioJPickering added a commit that referenced this pull request Aug 5, 2025
* Make cuaev disallow non-cuda tensors

* Add extra check to allow cuaev to run with no atoms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants