Git Product home page Git Product logo

fundus_transfer_v3_classification's People

Contributors

jiangyiqiao avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

fundus_transfer_v3_classification's Issues

TypeError: Expected string passed to parameter 'tags' of op 'ScalarSummary', got 'loss' of type 'str' instead.

小姐姐你好!我遇到一个问题。
TypeError: Expected string passed to parameter 'tags' of op 'ScalarSummary', got 'loss' of type 'str' instead.
这个问题我在你参考的五种花分类中同样遇到了,但是没有找到解决办法。
详细错误如下:
Traceback (most recent call last):

File "", line 1, in
runfile('D:/Graduate/fundus_transfer_v3_classification-master/train.py', wdir='D:/Graduate/fundus_transfer_v3_classification-master')

File "C:\Users\acer\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 704, in runfile
execfile(filename, namespace)

File "C:\Users\acer\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "D:/Graduate/fundus_transfer_v3_classification-master/train.py", line 313, in
tf.app.run()

File "C:\Users\acer\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))

File "D:/Graduate/fundus_transfer_v3_classification-master/train.py", line 238, in main
loss_summary = tf.summary.scalar('loss', cross_entropy_mean)

File "C:\Users\acer\Anaconda3\lib\site-packages\tensorflow\python\summary\summary.py", line 80, in scalar
val = _gen_logging_ops.scalar_summary(tags=tag, values=tensor, name=scope)

File "C:\Users\acer\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_logging_ops.py", line 794, in scalar_summary
"ScalarSummary", tags=tags, values=values, name=name)

File "C:\Users\acer\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 520, in _apply_op_helper
repr(values), type(values).name))

TypeError: Expected string passed to parameter 'tags' of op 'ScalarSummary', got 'loss' of type 'str' instead.

如何将多分类转换为二分类

hello!Thank you for the code you shared.This is very helpful to me.
The blog you recommend is in the case of multi-category application,
and your code is in the case of two classifications.
The question is how to convert multiple classifications into two classifications?
Do you mind sharing your own data set?
You are excellent, I want to learn from you, thank you again.

about the formate of dataset

Thank you very much for sharing!
Can you share the specific format of your dataset ?
I need to make a building datasets, but now I'm not sure the real formate of the datasets by read code, lead to i can't complish make datasets!there is no way to complete the training and test too!
I'm very anxiety!!
I sincerely need your help and guidance and look forward to your reply!
Thank you very much!

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.