原创 Python設置系統環境變量適配指定版本cuda
cuda在windows系統環境變量中主要涉及“path”和“CUDA_PATH”,只需在程序裏臨時更新即可,以配置cuda9爲例 import os path_add = r'D:\Program Files\NVIDIA GPU C
原创 h5文件讀取失敗-OSError:Unable to open file (file signature not found)
使用keras在加載網絡網絡參數的時候出現這個問題 File "h5py\h5f.pyx", line 78, in h5py.h5f.open OSError: Unable to open file (file signature n
原创 TensorFlow Lite Post-training quantization
Optimization options There are several post-training quantization options to choose from. Here is a summary table of th
原创 使用TensorRT加速GPU上的TensorFlow推理
本文翻譯於博客Speed up TensorFlow Inference on GPUs with TensorRT,這篇博客介紹瞭如何使用TensorRT加速TensorFlow模型的推理速度,作者爲: Siddharth Sharma
原创 解決tensorflow.keras錯誤ImportError: `save_model` requires h5py
使用tensorflow.keras中的save_model時,發生錯誤 ImportError: `save_model` requires h5py 追蹤了下是因爲h5py無法導入,cmd裏測試可以導入,但是在python IDE裏
原创 遷移TensorFlow 1代碼到TensorFlow 2
轉自:https://www.tensorflow.org/guide/migrate 目錄 Automatic conversion script Top-level behavioral changes Make the code 2
原创 Anaconda中出現 MoudleNotFoundError: No module named 'conda'
ubuntu系統更新python後,使用conda出錯 root@jupyter:# conda Traceback (most recent call last): File "/opt/conda/bin/conda", lin
原创 Windows防火牆入棧規則(遠程訪問)設置方法
Windows 7電腦: 依次打開“計算機”——“控制面板”——“Windows防火牆”,如下圖所示: Windows 10電腦: 依次打開“開始菜單”——“設置”——“Windows 防火牆”,如下圖所示: 入棧規則設置: 打開
原创 Building damage dataset
1.xView2-xBD introduction register to download xBD: Annotated high-resolution satellite imagery for building dam
原创 減災雲服務平臺 IN-CORE
IN-CORE:Run your scientific analyses that model the impact of natural hazards on a community and the resilience of thos
原创 Remote sensing for natural disasters: Facts and figures(遙感在自然災害中的應用)
By: Sian Lewis Sian Lewis explains how remote sensing can be used to help manage natural disasters and highlights ongoi
原创 arcpy.da.SearchCursor RuntimeError: cannot open '.shp'
arcpy在使用arcpy.da.SearchCursor讀取shp時報錯RuntimeError: cannot open '.shp',代碼如下: #coding:utf8 import arcpy path=r'D:\work\
原创 Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so
conda install nomkl 或 conda install nomkl numpy scipy scikit-learn numexpr解決
原创 cuda 10.0自帶驅動不支持Geforce GTX 1060 Max-Q
問題描述: Win10筆記本電腦升級cuda10.0之後,Geforce GTX 1060 Max-Q顯卡無法識別。cuda10.0自帶顯卡驅動版本爲411.31 解決辦法: 升級驅動版本到更高版本,例如441.66 https://
原创 python 賦值如何不修改原始列表
以下代碼 array = [1,2,3,4] t_array = array t_array[0] = 99 print(array) 結果爲: [99, 2, 3, 4] 由上可看出t_array直接修改了原始列表array 想避免賦