wusaifei / garbage_classify

本文新增添分类,检测,换脸技术等学习教程,各种调参技巧和tricks,卷积结构详细解析可视化,注意力机制代码等详解!本次垃圾分类挑战杯,目的在于构建基于深度学习技术的图像分类模型,实现垃圾图片类别的精准识别,大赛参考深圳垃圾分类标准,按可回收物、厨余垃圾、有害垃圾和其他垃圾四项分类。本项目包含完整的分类网络、数据增强、SVM等各种分类增强策略,后续还会继续更新新的分类技巧。
676 stars 176 forks source link

您好,我在配置的时候总是出错 #44

Closed qbq2018 closed 4 years ago

qbq2018 commented 4 years ago

Traceback (most recent call last): File "/tmp/pycharm_project_329/run.py", line 166, in tf.compat.v1.app.run() File "/home/jx/.local/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 40, in run _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) File "/home/jx/.local/lib/python3.5/site-packages/absl/app.py", line 299, in run _run_main(main, args) File "/home/jx/.local/lib/python3.5/site-packages/absl/app.py", line 250, in _run_main sys.exit(main(argv)) File "/tmp/pycharm_project_329/run.py", line 122, in main check_args(FLAGS) File "/tmp/pycharm_project_329/run.py", line 61, in check_args raise Exception('FLAGS.num_classes error, ' Exception: FLAGS.num_classes error, should be a positive number associated with your classification task

您帮我看一下,主要我用的是别人服务器的环境,tensflow是1.14,numpy是1.14.5,python是3.5,我怕新建个环境还得重新安装包,或者会出现缺少各种的麻烦。谢谢