Skip to content

Commit aa38512

Browse files
committed
fixes 5k
1 parent cdfff5c commit aa38512

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/0_data_creation_5k_nucleus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
dist_bd=10, # Maximum distance for boundary connections
7575
k_tx=5, # Use calculated optimal transcript neighbors
7676
dist_tx=5, # Use calculated optimal search radius
77-
tile_width=50, # Tile size for processing
78-
tile_height=50,
77+
tile_size=10000, # Tile size for processing
78+
# tile_height=50,
7979
neg_sampling_ratio=10., # 5:1 negative:positive samples
8080
frac=1.0, # Use all data
8181
val_prob=0.3, # 30% validation set

scripts/1_train_5k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
trainer = Trainer(
6363
accelerator="gpu",
6464
strategy="auto",
65-
precision="16-mixed",
65+
precision="32",
6666
devices=4, # set higher number if more gpus are available
6767
max_epochs=150,
6868
default_root_dir=models_dir,

0 commit comments

Comments
 (0)