摘要: from flask import Flask, request, jsonify from flask_restful import Api, Resource, reqparse app = Flask(__name__) api = Api(app) #### --GET请求参数-- 传递参数 阅读全文
posted @ 2024-01-25 18:50 土博姜山山 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 错误如下所示:OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.OMP: Hint This means that multiple copies of the Open 阅读全文
posted @ 2023-05-05 20:33 土博姜山山 阅读(794) 评论(0) 推荐(0) 编辑
摘要: torch1.12.1 # CUDA 10.2 conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=10.2 -c pytorch # CUDA 10.2 pip install torch 阅读全文
posted @ 2023-05-02 19:13 土博姜山山 阅读(221) 评论(0) 推荐(0) 编辑
摘要: torch1.8.1 # CUDA 10.1 pip install torch==1.8.1+cu101 torchvision==0.9.1+cu101 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html 阅读全文
posted @ 2023-04-26 16:20 土博姜山山 阅读(65) 评论(0) 推荐(0) 编辑
摘要: import os from pathlib import Path from typing import Any, Callable, Optional, Tuple import numpy as np import torch import torchvision from PIL impor 阅读全文
posted @ 2023-04-25 12:42 土博姜山山 阅读(20) 评论(0) 推荐(0) 编辑
摘要: start 添加用户 # su root # adduser xu # passwd xu # chmod -v u+w /etc/sudoers # vim /etc/sudoers 在这一行root ALL=(ALL) ALL下新增 # xu ALL=(ALL) ALL # add by jia 阅读全文
posted @ 2023-04-24 10:57 土博姜山山 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1 import numpy as np 2 from mpl_toolkits.mplot3d import Axes3D 3 import matplotlib.pyplot as plt 4 from matplotlib.colors import LinearSegmentedColorm 阅读全文
posted @ 2021-10-26 10:54 土博姜山山 阅读(244) 评论(0) 推荐(0) 编辑
摘要: WEB服务器和应用服务器区别 (捂脸)记一次给师弟师妹科普 WEB是什么 可以简单地将WEB理解为看到的HTML页面就是WEB的数据元素,处理这些WEB数据元素的应用软件就叫WEB服务器,如Apache、IIS、Nginx等。WEB服务器与客户端打交道,它要处理的主要信息有:session、requ 阅读全文
posted @ 2021-10-06 17:14 土博姜山山 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1 import utm 2 import numpy as np 3 from shapely.wkt import dumps, loads 4 outfile = "D:/研究/课题资料/申请后提交/验收-准备/coding4-yanshou/data_vec_output/inputTIF. 阅读全文
posted @ 2021-09-27 20:24 土博姜山山 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1 import rasterio 2 from pyproj import Proj, transform, CRS 3 4 ### geotiff_file: the original remote sensing file contain latitude and longitude info 阅读全文
posted @ 2021-09-20 20:00 土博姜山山 阅读(568) 评论(0) 推荐(0) 编辑