Skip to content

Commit

Permalink
modified model dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Jeffries committed Apr 30, 2024
1 parent 4f337b4 commit 13cb6d3
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 13cb6d3

Please sign in to comment.