목록전체 글 (12)
Yunzz's 코딩정리
Tensorflow에서는 GPU에 메모리 지정 방식을 바꿀 수 있는 2개의 옵션을 제공한다. 1) allow_growth import tensorflow as tf config = tf.ConfigProto() config.gpu.options.allow_growth = True session = tf.Session(config=config) ... 해당 옵션을 True로 설정할 경우, GPU 메모리가 전부 할당되지 않고 아주 적은 비율만 할당되어 시작해서 프로세스의 메모리 수요에 따라 증가하게 된다. GPU 메모리를 모두 사용하고 있는 상황을 피할 때 유용한 옵션이며, 다만 증식만 가능하기 때문에 연산이 끝나고 메모리가 필요 없는 상황에서 할당 된 메모리를 판납하지 않으므로 메모리 파편화를 일으킬 수 ..
① Marvin JS https://marvinjs-demo.chemaxon.com/latest/index.html ( marvin Sketch의 웹버전) Marvin JS marvinjs-demo.chemaxon.com ② Chemdraw https://chemdrawdirect.perkinelmer.cloud/js/sample/index.html?wasm=1 ChemDraw JS Sample Page chemdrawdirect.perkinelmer.cloud ③ Ketcher https://lifescience.opensource.epam.com/ketcher/index.html Ketcher Main features Fast and convenient editing. We strive to make..

RDKit의 molzip() 함수를 활용하면 Core+Fragment 조합 생성이 가능함. 예시) Benzene Core에 2가지 종류의 R-Group 조합 생성 Core R1 R2 c1cc([*:1])cc([*:2])c1 c1ccc2cc([*:1])ccc2c1 c1ccc2cc3cc([*:2])ccc3cc2c1 from rdkit import Chem core = "c1cc([*:1])cc([*:2])c1" r1 = "c1ccc2cc([*:1])ccc2c1" r2 = "c1ccc2cc3cc([*:2])ccc3cc2c1" sample = Chem.MolFromSmiles(f'{core}.{r1}.{r2}') mol = Chem.molzip(sample) smi = Chem.MolToSmiles(mol) p..

반응형 사이드바 Bedimcode Dashboard Messenger Projects Data Group Members Analytics Team Data Group Members Settings Log out /* GOOGLE FONTS */ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap"); /* VARIABLES CSS */ :root { --nav--width: 92px; /* Colores */ --first-color: #0c5df4; --bg-color: #12192c; --sub-color: #b6cefc; --white-color: #fff; /* Fuente y tipograf..

Input 요소의 [type="text"] 내에 값 입력 후 Enter 눌렀을 때 이벤트 발생.function EnterKey(e){ var value = document.getElementById("value").value; if(e.keyCode == 13){ document.getElementById("results").innerText = value; } } onkeypress 통해 키보드 키 입력 시 이벤트 불러옴. event.keyCode==13 통해 Enter 이벤트 발생 시 작업 실행 될 수 있도록 함. See the Pen Untitled by 조윤주 (@gnlvrezv-the-solid) on CodePen.

Ketcher 란? 'Web-based molecule sketcher ' 웹 기반으로 분자구조를 그리거나 구조 관련 정보를 추출할 수 있는 에디터. JSP에서 사용하는 Ketcher의 output은 'Promise' 객체로 이루어져있음. async function test(){ var frame = document.getElementById("ifKetcher"); var ketcher = frm.contentWindow.ketcher; // Get SMILES Code var smiles = await ketcher.getSmiles(); console.log(smiles); // Get Molecule Image var blob = await ketche..

Double-Range-Slide 구성하는 코드 See the Pen double -range-slide by 조윤주 (@gnlvrezv-the-solid) on CodePen.

단계 별 페이지 구성하는 방법 Step 1 Step 2 Step 3 Step 4 Disabled step .steps { list-style-type: none; padding: 0; text-align: center; } .steps li { display: inline-block; margin-bottom: 3px; width: 18%; } .steps li a, .steps li p { background: #B71F2B30; padding: 8px 20px; color: #B71F2B; display: block; font-size: 14px; font-weight: bold; position: relative; text-indent: 12px; } .steps li a:hover, .steps ..