Giter VIP home page Giter VIP logo

seqnet's People

Contributors

conscienceli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

seqnet's Issues

post_processing functions

Dear Li,

very interesting paper and implementation. Are you also planning to release the post-processing script implementation?

thanks

result metrics

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

ValueError: Graph disconnected: cannot obtain value for tensor

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.