zoukankan      html  css  js  c++  java
  • 第25月第9天 tf_tang_poems kaggle

    1.neural-style

    https://github.com/anishathalye/neural-style

    wget http://www.vlfeat.org/matconvnet/models/beta16/imagenet-vgg-verydeep-19.mat
    
    python neural_style.py --content examples/1-content.jpg --styles examples/1-style.jpg --output examples/myoutput.jpg --network ../neural-style-mat/imagenet-vgg-verydeep-19.mat
    

      

    https://www.cnblogs.com/lijingpeng/p/6009476.html

    2.生成诗词和歌词

    tensorflow 1.0
    python3.5

    https://github.com/charlesXu86/tf_tang_poems/

    在开发过程,特别是clone项目时在PyCharm中经常出现Unresolved Reference问题,对于有强迫症的人来说,简直不可忍受。

    1. 进入PyCharm->Preferences->Build,Excution,Deployment->Console->Python Console勾选上Add source roots to PYTHONPATH;
    2. 进入PyCharm->Preferences->Project->Project Structure,通过选中某一目录右键添加sources;
    3. 点击Apply和OK即可.

    https://blog.csdn.net/haiyanggeng/article/details/79215819

    3.kaggle

    https://github.com/lijingpeng/kaggle

    https://www.cnblogs.com/lijingpeng/p/6009476.html

    代码运行

    regr = RandomForestRegressor(n_estimators=50,max_depth=None,min_samples_split=1,random_state=0)

    regr = regr.fit(features_train,ratings_train)

    解决方法是: 将第一行中的min_samples_split=1 改为 min_samples_split=1.0

     

    cv=StratifiedShuffleSplit( n_splits=10, test_size=0.2, train_size=None)).fit(train_data, label)

     

  • 相关阅读:
    IIS配置ThinkPHP重写
    Redis安装
    ubuntu学习笔记
    PHP连接MySQL数据库SELinux中一些setsebool的用法
    centos+frp
    centos7.6安装nginx
    在CentOS 7-8上安装PHP 8.0
    centos7安装.net5.0(core)
    阿里云服务器配置清单
    阿里云服务器centos7.6安装mysql8.0.23
  • 原文地址:https://www.cnblogs.com/javastart/p/9760003.html
Copyright © 2011-2022 走看看