monai
medical
katielink commited on
Commit
e54516b
1 Parent(s): 261824f

black autofix format and add name tag

Browse files
configs/metadata.json CHANGED
@@ -1,7 +1,8 @@
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
3
- "version": "0.5.1",
4
  "changelog": {
 
5
  "0.5.1": "modify dataset key name",
6
  "0.5.0": "use detection inferer",
7
  "0.4.5": "fixed some small changes with formatting in readme",
@@ -23,6 +24,7 @@
23
  "pytorch-ignite": "0.4.9",
24
  "torchvision": "0.14.0"
25
  },
 
26
  "task": "CT lung nodule detection",
27
  "description": "A pre-trained model for volumetric (3D) detection of the lung lesion from CT image on LUNA16 dataset",
28
  "authors": "MONAI team",
 
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
3
+ "version": "0.5.2",
4
  "changelog": {
5
+ "0.5.2": "black autofix format and add name tag",
6
  "0.5.1": "modify dataset key name",
7
  "0.5.0": "use detection inferer",
8
  "0.4.5": "fixed some small changes with formatting in readme",
 
24
  "pytorch-ignite": "0.4.9",
25
  "torchvision": "0.14.0"
26
  },
27
+ "name": "Lung nodule CT detection",
28
  "task": "CT lung nodule detection",
29
  "description": "A pre-trained model for volumetric (3D) detection of the lung lesion from CT image on LUNA16 dataset",
30
  "authors": "MONAI team",
scripts/cocometric_ignite.py CHANGED
@@ -89,7 +89,6 @@ class IgniteCocoMetric(Metric):
89
 
90
  @sync_all_reduce("val_targets_all", "val_outputs_all")
91
  def compute(self) -> float:
92
-
93
  self.val_outputs_all = detach_to_numpy(self.val_outputs_all)
94
  self.val_targets_all = detach_to_numpy(self.val_targets_all)
95
 
 
89
 
90
  @sync_all_reduce("val_targets_all", "val_outputs_all")
91
  def compute(self) -> float:
 
92
  self.val_outputs_all = detach_to_numpy(self.val_outputs_all)
93
  self.val_targets_all = detach_to_numpy(self.val_targets_all)
94