Skip to content

EWSNet weights cannot be downloaded #6

@duncanobrien

Description

@duncanobrien

The domain hosting the EWSNet model weights has been permanently (but unexpectedly) removed. There is currently no way to download EWSNet weights via the package. A new domain is being looked for.

In the meantime, weights are available for manual download from https://github.com/duncanobrien/ews-assessments/tree/main/python/weights/Pretrained. These weights can then be fed to EWSNet using the weights_path argument of ewsnet_predict().

Steps:

  1. Download weights from https://github.com/duncanobrien/ews-assessments/tree/main/python/weights/Pretrained to a known folder e.g. example_user/Downloads
  2. Ensure the path contains Pretrained/Scaled/*.h5 and Pretrained/Unscaled/*.h5. e.g. "example_user/Downloads/Pretrained/Scaled/1.h5"
  3. Create an object to the new path. e.g. my_new_path <- "example_user/Downloads"
  4. Following the standard use of ewsnet_init(), call ewsnet_predict(x, scaling = TRUE, ensemble = 25, envname, weights_path = my_new_path)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions