经验总结
Miraini
good luck
展开
-
tf.keras set_weights ValueError:Weights for model sequential_1 have not yet been created.
ValueError: Weights for model sequential_1 have not yet been created. Weights are created when the Model is first called on inputs or `build()` is called with an `input_shape`.ValueError: Weights for model sequential_1 have not yet been created. Weights原创 2021-03-13 15:24:42 · 6084 阅读 · 0 评论 -
把数据装到列表再装进dataframe而不是一条一条加进dataframe(节省大量时间)
for ip in range(len(index_plus)): q_table = q_table.append( pd.Series( [row[0], row[1], row[2], row[3], row[4], row[5]], # [0,0,0,0,0,0] q_table值 index=q_table.columns, # Int64In...原创 2020-12-11 14:38:58 · 1559 阅读 · 0 评论 -
conda安装外部包时指定地址和环境
切换到E盘并激活环境(base) C:\Users\lenovo>cd ..(base) C:\Users>cd ..(base) C:\>E:(base) E:\>cd E:/Anaconda3/envs/opencv/(base) E:\Anaconda3\envs\opencv>activate opencv(opencv) E:\Anaconda3\envs\opencv>查找包(opencv) E:\Anaconda3\envs\opencv&原创 2020-06-20 22:06:51 · 7979 阅读 · 0 评论 -
通过Anaconda Navigator安装SimpleITK
在使用Anaconda Navigator安装SimpleITK遇到的镜像源问题,记下来供以后参考。按照清华镜像源的使用说明(anaconda|镜像站使用帮助)更改了channel之后,在Anaconda Navigator中搜索simpleitk还是显示 0 packages但清华的镜像显然是有simpleitk的包的可以看到simpleItk的目录是这样的解决办法是,只要在.co...原创 2020-02-20 17:42:11 · 957 阅读 · 0 评论