conscienceli / seqnet Goto Github PK
View Code? Open in Web Editor NEWJoint Learning of Vessel Segmentation and Artery/Vein Classification
Home Page: https://www.liangzhili.com/publication/li-2020-joint/
License: MIT License
Joint Learning of Vessel Segmentation and Artery/Vein Classification
Home Page: https://www.liangzhili.com/publication/li-2020-joint/
License: MIT License
Hi, how are the three data set structures merged, can you tell me?Thank you very much!!!
Is there a pytorch version?
Dear Li,
very interesting paper and implementation. Are you also planning to release the post-processing script implementation?
thanks
Where is the code for postprocessing? thank you
Dear conscienceli:
when I try to train the model, I occur the above error, could you give some reason about that? thanks
Dear author:
The architecture is very powerful for both vessel segmentation and A/V classification, yet I have a question about the result metrics, could you explain why the segmentation use AUC/ACC metrics and how to get result as you have provided in parper: 'Joint Learning of Vessel Segmentation and Artery/VeinClassi cation with Post-processing'
Thanks a lot
Hi,
I tried to perform prediction by giving the command (the test image was under ./data/test_images/
):
python predict.py -i ./data/test_images/ -o ./output/
And encountered the following error message:
Traceback (most recent call last):
File "predict.py", line 136, in <module>
predict(batch_size=24, epochs=200, iteration=3, stride_size=3, crop_size=128,
File "predict.py", line 36, in predict
model = define_model.get_unet(minimum_kernel=minimum_kernel, do=dropout, activation=activation, iteration=iteration)
File "/.../SeqNet-master/utils/define_model.py", line 379, in get_unet
model = Model(inputs=[inputs], outputs=outs)
File "/.../opt/anaconda3/envs/opencv4/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 167, in __init__
super(Model, self).__init__(*args, **kwargs)
File "/.../opt/anaconda3/envs/opencv4/lib/python3.8/site-packages/tensorflow/python/keras/engine/network.py", line 173, in __init__
self._init_graph_network(*args, **kwargs)
File "/.../opt/anaconda3/envs/opencv4/lib/python3.8/site-packages/tensorflow/python/training/tracking/base.py", line 456, in _method_wrapper
result = method(self, *args, **kwargs)
File "/.../opt/anaconda3/envs/opencv4/lib/python3.8/site-packages/tensorflow/python/keras/engine/network.py", line 306, in _init_graph_network
nodes, nodes_by_depth, layers, _ = _map_graph_network(
File "/.../opt/anaconda3/envs/opencv4/lib/python3.8/site-packages/tensorflow/python/keras/engine/network.py", line 1787, in _map_graph_network
raise ValueError('Graph disconnected: '
ValueError: Graph disconnected: cannot obtain value for tensor Tensor("dropout_19_1/Identity:0", shape=(None, None, None, 32), dtype=float32) at layer "concatenate_4". The following previous layers were accessed without issue: ['input_1', 'conv2d', 're_lu', 'dropout', 'conv2d_1', 're_lu_1', 'dropout_1', 'max_pooling2d', 'conv2d_2', 're_lu_2', 'dropout_2', 'conv2d_3', 're_lu_3', 'dropout_3', 'max_pooling2d_1', 'conv2d_4', 're_lu_4', 'dropout_4', 'conv2d_5', 're_lu_5', 'dropout_5', 'max_pooling2d_2', 'conv2d_6', 're_lu_6', 'dropout_6', 'conv2d_7', 're_lu_7', 'dropout_7', 'max_pooling2d_3', 'conv2d_8', 're_lu_8', 'dropout_8', 'conv2d_9', 're_lu_9', 'dropout_9', 'conv2d_transpose', 'concatenate', 'conv2d_10', 're_lu_10', 'dropout_10', 'conv2d_11', 're_lu_11', 'dropout_11', 'conv2d_transpose_1', 'concatenate_1', 'conv2d_12', 're_lu_12', 'dropout_12', 'conv2d_13', 're_lu_13', 'dropout_13', 'conv2d_transpose_2', 'concatenate_2', 'conv2d_14', 're_lu_14', 'dropout_14', 'conv2d_15', 're_lu_15', 'dropout_15', 'conv2d_transpose_3', 'concatenate_3', 'conv2d_16', 're_lu_16', 'dropout_16', 'conv2d_17', 're_lu_17', 'dropout_17', 'conv2d_18', 're_lu_18', 'dropout_18', 'conv2d_19', 're_lu_19', 'dropout_19']
I had to modify certain lines in predict.py
like config = tf.compat.v1.ConfigProto(gpu_options=tf.compat.v1.GPUOptions(allow_growth=True))
due to compatibility issues but I guess that is irrelevant to the error. Apart from that all the codes stayed the same.
Could you please look into this? Thank you in advance for your help.
Hello, I want to know where is the crossing point in the code? Then how should I visualize the
crossing point? Thank you very much!!
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.