Skip to content

Commit

Permalink
Merge pull request #2 from jwjeffr/main
Browse files Browse the repository at this point in the history
modified model dir
  • Loading branch information
nnn911 authored Jun 6, 2024
2 parents 4f337b4 + 13cb6d3 commit 7171415
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scoreBasedDenoising/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ def getModelPath(self):
if not path.exists():
raise FileNotFoundError(f"{path} does not exist.")
return Path(self.model_path)
modelDir = impRes.files("graphite.pretrained_models.denoiser")
# modelDir = impRes.files("graphite.pretrained_models.denoiser")
modelDir = impRes.files("graphite") / "pretrained_models" / "denoiser"
if self.structure == "SiO2":
return modelDir.joinpath("SiO2-denoiser.pt")
elif (
Expand Down

0 comments on commit 7171415

Please sign in to comment.