Closed pakiessling closed 1 month ago
Hey @pakiessling thanks for reaching out. We made some structural changes, that is possibly confusing regarding the workflow. Please follow this tutorial :https://github.com/EliHei2/segger_dev/blob/main/docs/notebooks/segger_tutorial.ipynb to create data, train, and predict.
Ty!
I am now getting TypeError: SpatialTranscriptomicsSample.save_dataset_for_segger() got an unexpected keyword argument 'receptive_field'
in the
xs.save_dataset_for_segger(
processed_dir=segger_data_dir,
r_tx=5,
k_tx=15,
receptive_field=receptive_field,
x_size=120,
y_size=120,
d_x=100,
d_y=100,
margin_x=10,
margin_y=10,
num_workers=4, # change to you number of CPUs
)
step.
you could define the receptive field like this receptive_field = {'k_bd': 3, 'dist_bd': 20,'k_tx': 15, 'dist_tx': 3}
.
yeah I did but the function save_dataset_for_segger() does not seem to take receptive_field as an argument anymore. I omitted it and it saved a dataset
that's true, in the new version we don't compute the receptive field in the data_creation step, rather in the prediciton step.
Hi I am trying to follow https://elihei2.github.io/segger_dev/user_guide/data_creation/#xenium-data with my own data. However I am facing some issues. Below is the code I am running with comments showing modifcations of the tutorial:
In the building step I get the error: