自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(38)
  • 资源 (3)
  • 收藏
  • 关注

原创 linux-firmware 更换

https://launchpad.net/ubuntu/+source/linux-firmwarehttps://launchpad.net/ubuntu/bionic/+source/linux-firmware在以上网址找到对应的安装文件sudo dkpg -i linux-firmware.**.deb

2019-11-18 14:20:50 2320

原创 Ubuntu 更换 linux 内核

查询可用 kernalapt-cache search linux|grep linux-image查询已安装 kernaldpkg --get-selections| grep linux安装 kernalsudo apt updateapt-get install linux-image-4.15.0-33-generic linux-headers-4.15...

2019-11-17 10:15:50 159

原创 gcc 9.3.0

gcc 9.3.0

2022-03-25 02:41:32 430

原创 torch.scatter 或torch.gather运行速度太慢,怎么解决

可以尝试在cpu上进行运算,在上传到gpu。这类运算似乎在gpu上特别的慢

2021-12-30 00:07:27 965

转载 2020-11-10

http://rdkit.chenzhaoqiang.com/mediaManual.html高亮原子和键的颜色 d2d.DrawMoleculefrom rdkit import Chemfrom rdkit.Chem.Draw import rdMolDraw2Dfrom io import BytesIOimport numpy as npfrom PIL import Image, ImageOpsdef _drawerToImage(d2d): try:

2020-11-10 09:38:59 224

原创 逆合成

1.Automated extraction of chemical synthesis actions from experimental proceduresA Python library with the action definition and handling as well as associated scripts for training the transformer model can be found on GitHub athttps://github.com/rxn4ch.

2020-10-22 17:29:02 373

原创 ROS从零开始快速搭建slam

1.安装ROSsudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubu

2020-06-17 17:00:33 793

原创 rocm 指定版本安装

rocm 指定版本安装将仓库更改为对应地址即可,如https://repo.radeon.com/rocm/apt/3.1/

2020-05-07 16:21:34 2344

原创 ROCM指定gpu训练

ROCR_VISIBLE_DEVICESIt is possible to rearrange or isolate the collection of ROCm GPU/GCD devices that are available on a ROCm platform. This can be achieved at the start of an application by way of ...

2020-05-01 17:36:38 536

原创 选定rdkit 安装版本

conda install -C rdkit rdkit=2019.09.3版本序列号在以下网址查看https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/rdkit/linux-64/

2020-03-21 18:51:41 3298 2

原创 在谷歌colab里装rdkit

!curl -Lo rdkit_installer.py https://git.io/fxiPZimport rdkit_installer%time rdkit_installer.install()import rdkit

2020-02-23 22:16:24 343

原创 smiles reaction 如何进行 Atom-mapping removal 及 canonicalization

from rdkit.Chem import rdChemReactionsfrom rdkit.Chem.rdChemReactions import RemoveMappingNumbersFromReactionsreaction = rdChemReactions.ReactionFromSmarts('[Br:1][c:2]1[cH:3][c:4]([C:11](=[O:12])...

2020-02-18 16:15:27 706

原创 rdkit 不能显示2D分子图片

导入IPythonConsole即可,不需要额外操作。from rdkit.Chem.Draw import IPythonConsole

2020-02-18 12:31:11 769 2

原创 ubuntu 搜索缺失文件安装包

$ apt-file update$ apt-file list mysqladmin$ apt-file search mysqladmin$ apt-file update$ apt-file list mysqladminkmysqladmin: /usr/bin/kmysqladmin$ apt-file search mysqladminautoconf-archi...

2019-12-28 21:45:26 141

原创 rocm 升级2.10后,无法使用

报错显示 no devicesubuntu18.04.3 升级5.0内核后成功恢复sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04

2019-12-12 15:20:24 324

原创 添加rocm 环境变量

echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' |sudo tee -a /etc/profile.d/rocm.sh

2019-12-08 09:59:11 398

原创 UBUNTU内核升级后,如何更新 kernel headers

Make sure you have updated version$sudo apt-get updateSearch for kernel version (optional)$apt-cache search linux-headers-$(uname -r)Install linux-header package$sudo apt-get install linu...

2019-12-07 18:05:38 1995 1

转载 ftp

ubuntu 安装 ftp服务 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1. 更新源列表 ---> sudo apt-get update 2....

2019-12-04 00:54:04 158

转载 rdkit.Chem.rdMolDescriptors module

rdkit.Chem.rdMolDescriptors moduleModule containing functions to compute molecular descriptorsclassrdkit.Chem.rdMolDescriptors.AtomPairsParameters((object)arg1)→ None :Bases:Boost.Python.inst...

2019-11-23 15:22:08 1994

原创 rdkit中 logP, mr, TPSA, Labute ASA 讲解

logPlogP值指某物质在正辛醇(油)和水中的分配系数比值的对数值。反映了物质在油水两相中的分配情况。logP值越大,说明该物质越亲油,反之,越小,则越亲水,即水溶性越好。TPSA拓扑分子极性表面积是常用于药物化学的一个参数,其定义为化合物内极性分子的总表面积,多为氧原子及氮原子,也包括与其相连的氢原子。在药物化学的应用中,极性表面积是评价药物在细胞内的可运输性质的描述指标。这一...

2019-11-23 15:21:10 8173

原创 conda 安装 rdkit

conda install -c rdkit rdkit参考网址https://anaconda.org/rdkit/rdkit

2019-11-19 08:41:15 3692

原创 Failed in install software in ubuntu. How to continue it?

sudo apt install rocm-dkms --fix-missing

2019-11-18 09:06:18 166

原创 How to install teamviewer on ubuntu18.04

sudo apt install dpkgdpkg -i teamviewer.**.debapt-get -f installdpkg -i teamviewer.**.debokay

2019-11-17 19:36:49 142

原创 Ubuntu 下查询 rocm 的依赖环境

apt-cache depends dkmsdkms |Depends: kmod kmod:i386 Depends: <kldutils> Depends: gcc Depends: dpkg-dev |Depends: make make-guile Depends: build-essential Depends: coreut...

2019-11-17 14:43:46 903

原创 利用stacking 提供银行精准营销解决方案(深度之眼比赛)

import pandas as pdimport numpy as npimport warningsfrom tqdm import tqdm%matplotlib inlinefrom sklearn.preprocessing import LabelEncoderfrom scipy import sparsefrom sklearn.model_selection im...

2019-07-05 13:26:58 1117

原创 离散数学,自反性

list1 = [] #定义一个空列表str1 = input("请输入数值,用空格隔开:")list2 = str1.split(" ") #list2用来存储输入的字符串,用空格分割list2_length = len(list2)i = 0while i <= list2_length-1: list1.append(int(list2.pop())) #将list...

2019-04-10 17:48:19 5010

原创 SQL基本操作

create login testuser with password = '!@#QWE'

2019-04-08 12:14:19 92

转载 Microsoft.Office.Interop.Excel 操作集合

private _Workbook _workBook = null;private Worksheet _workSheet = null;private Excel.Application _excelApplicatin = null;_excelApplicatin = new Excel.Application();_excelApplicatin.Visible = tru...

2019-02-05 18:36:30 3531 1

原创 Phone card

China Mobile 中国移动China Unicom 中国联通China Telecom 中国电信phone card 手机卡1. China Mobile is the biggest telecommunication company in China.2. I can watch videos without buffer. 3. If I download s...

2019-01-18 09:53:45 246

原创 【解决方案】签名时出错:指定了无效的提供程序类型。

 编译vsto程序时候出错,说:“签名时出错:指定了无效的提供程序类型”。可通过以下步骤解决:1.前往office安装根目录下,找到SELFCERT.EXE程序,运行生成自定义证书。2.在项目属性中,对签名进行设置。点击“选择从存储区选择",选中上一步生成的自定义证书即可。  ...

2019-01-17 22:41:37 4493

原创 numpy 创建自定义数据集

#定义数据集规模 size = 600 #生成数据集 dataA = np.random.normal((0,38),0.4,(size,2)) dataA_label = np.zeros(size) dataB = np.random.normal((0,36),0.4,(size,2)) dataB_label = np.ones(s...

2019-01-16 09:44:21 1276

原创 windows 环境 pip如何使用清华镜像源

1. 在C:\Users\All Users 路径下创建文件夹 pip2. 勾选显示文件拓展名3. 在pip文件夹中创建pip.txt,写入以下脚本[global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple4. 更改pip.txt文件名称为pip.ini...

2019-01-12 13:15:49 4062

原创 基于CAPE-OPEN标准开发化工模拟单元操作模块

Excel的方法可参考:http://amsterchem.com/excelunitop.html VB 6.0和VC++的方法可参考:http://www.colan.org/Download/CAPEOPENMixerSplitterExamples.1.0.4.exe https://bbs.hcbbs.com/thread-1113908-1-1.htmlhttp...

2018-12-30 10:23:10 1180

转载 HOG算法

目录HOG算法思想:颜色空间归一化:梯度计算:计算细胞单元的梯度直方图:对组合成块的梯度直方图作归一化:对归一化梯度特征进行SVM分类:https://blog.csdn.net/yongjiankuang/article/details/79808346https://www.cnblogs.com/codingmengmeng/p/5613442.htmlH...

2018-12-22 10:48:00 20295 2

原创 图像滤波

(1)均值滤波 均值滤波是一种简单的滤波器,用邻域像素值的平均值作为该位置的滤波结果值。公式(1)表示均值滤波原理,其中 f(x,y) 为图像某位置滤波前像素值,g(x,y) 表示图像该位置滤波后像素值,m 表示模板中元素个数。                                                              (1)  (2)高斯滤波...

2018-12-21 23:15:57 130

原创 1602液晶显示温湿度

#include <reg52.h>#include<intrins.h>#define uchar unsigned char //宏定义#define uint unsigned intsbit DHTIO = P2^7; //管脚定义,DHT11总线输入输出;sbit LCDRS = P3^4; //管脚定义,1602液晶RS控制端;sbi...

2017-04-11 00:33:33 3353 2

原创 二进制转16进制头文件

#define B00000000 0x00  #define B00000001 0x01  #define B00000010 0x02  #define B00000011 0x03  #define B00000100 0x04  #define B00000101 0x05  #define B00000110 0x06  #define B00000111

2017-04-11 00:27:01 2324

转载 DHT11使用范例

//****************************************************************//// DHT21使用范例//单片机 : AT89S52 或 STC89C52RC// 功能 :串口发送温湿度数据 波特率 9600//硬件连接: P2.0口为通讯口连接DHT11,DHT11的电源和地连接单片机的电源和地,单片机串口加MAX232连

2017-04-11 00:24:50 1597

Materials Studio 破解License

破解时,将文件中电脑名称替换为自己的电脑名称

2017-04-29

Aspen ActiveX VB.net

Aspen plus ActiveX 开发示例

2017-04-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除