wahlby-lab / graph-iss Goto Github PK
View Code? Open in Web Editor NEWGraph-based Decoding for In Situ Sequencing
License: Apache License 2.0
Graph-based Decoding for In Situ Sequencing
License: Apache License 2.0
Hi, thanks for making this super useful tool! Just wanted to let you know I encountered a minor bug that occurs when you try to use both the probability and radius parameters simultaneously when predicting (ie: deepblink predict --model model.h5 --input img.tiff -r 1 -p 0.9
). Running using both parameters causes it to throw the following error:
Traceback (most recent call last):
File "/mnt/envs/dev-nkeener/bin/deepblink", line 33, in
sys.exit(load_entry_point('deepblink==0.1.3', 'console_scripts', 'deepblink')())
File "/mnt/envs/dev-nkeener/lib/python3.7/site-packages/deepblink/cli/_main.py", line 115, in main
handler()
File "/mnt/envs/dev-nkeener/lib/python3.7/site-packages/deepblink/cli/_predict.py", line 71, in call
self.predict_adaptive(fname_in, image)
File "/mnt/envs/dev-nkeener/lib/python3.7/site-packages/deepblink/cli/_predict.py", line 193, in predict_adaptive
curr_df = self.predict_single(single_image, pixel_size)
File "/mnt/envs/dev-nkeener/lib/python3.7/site-packages/deepblink/cli/_predict.py", line 165, in predict_single
df["i"] = get_intensities(image, coords, self.radius)
File "/mnt/envs/dev-nkeener/lib/python3.7/site-packages/deepblink/inference.py", line 105, in get_intensities
for r, c in coordinate_list:
ValueError: too many values to unpack (expected 2)
This is because coordinate_list
in the get_intensities()
function in inference.py can have either 2 or 3 columns depending on if you used the probability parameter so that function will need to be adjusted to handle the variable number of columns.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.