Skip to content

Commit ce5785d

Browse files
authored
Merge pull request #16 from cy-xu/fix-tensor-deprecation
Fixed pytorch deprecation tensor type.
2 parents 9a758ca + fa61722 commit ce5785d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

cosmic_conn/dl_framework/cosmic_conn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def initialize(self, opt):
6060
self.build_models(opt)
6161

6262
def build_models(self, opt):
63-
torch.set_default_tensor_type(torch.FloatTensor)
6463
torch.set_default_dtype(torch.float32)
6564

6665
# group norm parameters

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "cosmic_conn"
7-
version = "0.6.0"
7+
version = "0.6.1"
88
description = "Cosmic-CoNN: A Cosmic Ray Detection Deep Learning Framework, Dataset, and Toolkit"
99
readme = "README.md"
1010
license = { text = "GNU General Public License v3" }

0 commit comments

Comments
 (0)