10 2023 档案

摘要:import numpy as np import tensorflow as tf import matplotlib.pyplot as plt # X-Data N = 200 X = np.random.random(N) print(X) [0.87043833 0.34352561 0. 阅读全文
posted @ 2023-10-25 21:49 Arxu 阅读(77) 评论(0) 推荐(0) 编辑
摘要:命令行模式(按 Esc 生效)编辑快捷键F: 查找并且替换Ctrl-Shift-F: 打开命令配置Ctrl-Shift-P: 打开命令配置Enter: 进入编辑模式P: 打开命令配置Shift-Enter: 运行代码块, 选择下面的代码块Ctrl-Enter: 运行选中的代码块Alt-Enter: 阅读全文
posted @ 2023-10-25 19:59 Arxu 阅读(353) 评论(0) 推荐(0) 编辑
摘要:首先打开 anaconda prompt 新建环境 conda create -n tf-gpu python=3.8 y 激活创建的环境 conda activate tf-gpu 选择最终的cuda和cudnn搭配组合 conda install cudatoolkit=10.1.243 con 阅读全文
posted @ 2023-10-25 16:41 Arxu 阅读(86) 评论(3) 推荐(0) 编辑
摘要:新建环境: conda create -n pytorch python=3.6 删除环境: conda remove -n "环境名" --all 进入创建的虚拟环境 conda activate test 离开环境 conda deactivate 重置通道设置 如果想要删除添加的所有镜像源,重 阅读全文
posted @ 2023-10-25 14:47 Arxu 阅读(23) 评论(0) 推荐(0) 编辑
摘要:参考:http://t.csdnimg.cn/crHL1 检查下CUDA是否安装成功。打开cmd,输入以下命令查看CUDA是否安装成功(二选一)如果不能显示以下信息,则说明安装失败。 nvcc -V nvcc --version 还可以查看CUDA 设置的环境变量。 我们还可以搜索CUDA 的安装目 阅读全文
posted @ 2023-10-25 11:15 Arxu 阅读(18) 评论(0) 推荐(0) 编辑
摘要:CadQuery API Reference(待完善)CadQuery API Reference API主要可以分为4个部分 • Sketch – 构建2D草图 • Workplane – 拓扑关系的载体,工作平面 • Selector – 筛选和选择器 • Assembly – 装配体操作 1. Sketch initialization 草图初始 阅读全文
posted @ 2023-10-23 17:45 Arxu 阅读(69) 评论(0) 推荐(0) 编辑
摘要:Image Color Summarizer 离线使用方法安装网页网址: http://mkweb.bcgsc.ca/color-summarizer/?download 1. 在网址栏输入URL: http://mkweb.bcgsc.ca/color-summarizer/download/colorsummarizer-0.80-win.zip 2. 阅读全文
posted @ 2023-10-23 11:50 Arxu 阅读(736) 评论(0) 推荐(0) 编辑
摘要:参考来源: https://github.com/CadQuery/cadquery/issues/407import math import cadquery as cq def profile(base, pitch, h, extra=True): """pitch 螺距 Creates a 阅读全文
posted @ 2023-10-22 16:05 Arxu 阅读(63) 评论(0) 推荐(0) 编辑
摘要:1. 卷积层的作用卷积层的作用是提取输入图片中的信息,这些信息被称为图像特征,这些特征是由图像中的每个像素通过组合或者独立的方式所体现,比如图片的纹理特征,颜色特征。 比如下面这张图片,蓝色框框住的地方就是脸部特征,这些特征其实是由一个个像素所组成的。 再者这是一张彩色图片,它包含R、G、B三个通道 阅读全文
posted @ 2023-10-19 10:05 Arxu 阅读(483) 评论(0) 推荐(0) 编辑
摘要:检索方法: 对于词组加双引号,可以固定搜索. "quotation marks". 使用通配符,可以在单词中间、前缀、后缀使用。 * 表示0或者很多个字母 ?表示一个字母 $ 表示0或者1个字母 对于某个单复数\后缀等形式,可以加*号来扩大搜索范围 布尔操作和近似搜索 Boolean and pro 阅读全文
posted @ 2023-10-16 21:46 Arxu 阅读(30) 评论(0) 推荐(0) 编辑
摘要:# This program stores people's favorite numbers, and displays them. favorite_numbers = {'eric': [3, 11, 19, 23, 42], 'ever': [2, 4, 5], 'willie': [5, 阅读全文
posted @ 2023-10-16 13:27 Arxu 阅读(8) 评论(0) 推荐(0) 编辑
摘要:1. sys模块 sys是python自带模块. sys模块常见函数 1 $ python 2 Python 2.7.6 (default, Oct 26 2016, 20:30:19) 3 [GCC 4.8.4] on linux2 4 Type "help", "copyright", "cre 阅读全文
posted @ 2023-10-15 12:09 Arxu 阅读(10) 评论(0) 推荐(0) 编辑
摘要:Assembly demo 1 (解释待完善)1 import cadquery as cq 2 3 # Parameters 4 H = 400 5 W = 200 6 D = 350 7 8 PROFILE = cq.importers.importDXF("vslot-2020_1.dxf").wires() 9 10 SLOT_D = 阅读全文
posted @ 2023-10-13 00:07 Arxu 阅读(21) 评论(0) 推荐(0) 编辑
摘要:代码 绘制出的图形 DXF图形截图 用到的函数 .sketch() 在当前界面创建一个草图 importers.importDXF() 导入2D图用于建模 .finalize() 一般用于.sketch(), 结束草图. 返回元素用于拉伸. 阅读全文
posted @ 2023-10-12 23:40 Arxu 阅读(58) 评论(0) 推荐(0) 编辑
摘要:.toPending() 将选中的边转变为可用于建模的边线 Adds wires/edges to pendingWires/pendingEdges 阅读全文
posted @ 2023-10-10 18:15 Arxu 阅读(23) 评论(1) 推荐(0) 编辑
摘要:Workplane.offset2D() 转换二维线。 它们可以向内或向外偏移,并使用不同的技术来改变边角情况。 阅读全文
posted @ 2023-10-10 18:09 Arxu 阅读(28) 评论(1) 推荐(0) 编辑
摘要:.cboreHole(0.125, 0.25, 0.125, depth=0.4) 阅读全文
posted @ 2023-10-10 17:51 Arxu 阅读(27) 评论(0) 推荐(0) 编辑
摘要:.Workplane("front") 确定绘图平面 .circle(2.0) 画圆 .pushPoints([(1.5, 0), (0, 1.5), (-1.5, 0), (0, -1.5)]) 创建点合集 .extrude(0.125) 拉伸 .cutThruAll() 完全贯穿切除 .poly 阅读全文
posted @ 2023-10-10 12:04 Arxu 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-05 13:46 Arxu 阅读(15) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示