原创 Tensorflow TextCnn 模型訓練到 tf serving 部署模型,實現在線調用。一條龍服務。

一、TextCnn模型訓練 模型訓練涉及三份代碼。 第一份是textcnn的結構 第二份是數據處理 第三份是讀取數據並訓練,最後保存模型。 代碼也可以在我的git上查看,git地址:https://github.com/march

原创 clion 中出現的問題 Undefined symbols for architecture x86_64

初學C,用Clion遇到的問題 用了clion建了項目後 想構建一個外部函數,在main.c中引用,外部函數的例子如下: tool.h文件如下: int Myadd(int a, int b); tool.c文件如下: int My

原创 AttributeError: module 'numpy' has no attribute 'dtype' 問題

記錄下今天發生的問題。在pycharm中命名了一個random.py,代碼如下import numpy as np import pandas as pd RandomNumber = np.random.choice([1,2,3,4