You can mainly refer to this PR and its issues: pyg-team/pytorch_geometric#8804
The easy and elegant way is just change the url.
def download_google_url(
id: str,
folder: str,
filename: str,
log: bool = True,
from typing import List, Tuple, Optional | |
import numpy as np | |
from scipy.spatial import cKDTree as KDTree | |
def _estimate_scale(points: np.ndarray) -> float: |
# 1. 安装tpm: mkdir -p ~/.tmux/plugins && cd ~/.tmux/plugins && git clone https://github.com/tmux-plugins/tpm | |
# 2. 按 prefix + I(大写) 来安装插件 | |
##### 以上需手工执行 ##### | |
set-option -g default-shell /bin/zsh | |
## 修改 tmux-prefix 键: ctrl+b --> ctrl+a | |
set -g prefix C-a | |
unbind C-b | |
bind a send-prefix | |
#set-option -g prefix2 ` |
import os | |
import json | |
import requests | |
from typing import Optional, List, Dict, Any | |
# List of supported Dartmouth models | |
SUPPORTED_MODELS = [ | |
"llama-3-8b-instruct", | |
"llama-3-1-8b-instruct", |
{ | |
"latex-workshop.latex.recipes": [ | |
{ | |
"name": "pdflatex->bibtex->pdflatex*2", | |
"tools": [ | |
"pdflatex", | |
"bibtex", | |
"pdflatex", | |
"pdflatex" | |
] |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>ColdCode Example</title> | |
<style> | |
/* Basic styles for the visual elements */ | |
.character { | |
display: inline-block; |
function ColdCode(input, code) { | |
this.charCodes = { | |
' ': [['none','none','none','none','none','none','none','none','none','none']], | |
'A': [['black','gray','gray','white','none','none','none','none','none','none']], | |
'B': [['black','gray','none','none','none','none','yellow','green','green','blue']], | |
'C': [['none','none','gray','white','red','orange','orange','yellow','none','none']], | |
'D': [['black','gray','none','none','none','none','yellow','green','none','none']], | |
'E': [['black','gray','none','none','none','none','none','none','none','none']], | |
'F': [['black','gray','none','none','red','orange','orange','yellow','none','none']], | |
'G': [['none','none','gray','white','none','none','yellow','green','green','blue']], |
// Input monitoring | |
function setupInputMonitoring() { | |
const inputBox = document.querySelector(CONFIG.ID_PROMPT_INPUT); | |
const sendButton = document.querySelector(CONFIG.QUERY_SEND_BTN); | |
inputBox.addEventListener('keydown', function(event) { | |
if (startTime === null) { | |
startTime = new Date(); | |
console.log('Start typing at:', startTime.toLocaleString()); | |
} |
<label class="chat_chat-input-panel-inner___IQHi" for="chat-input"> | |
<textarea id="chat-input" class="chat_chat-input__PQ_oF" placeholder="Enter to send, Shift + Enter to wrap, / to search prompts, : to use commands" rows="3" style="font-size: 14px;"></textarea> | |
<button class="button_icon-button__VwAMf undefined undefined chat_chat-input-send__GFQZo clickable button_primary__dwYZ6" role="button"> | |
<div aria-label="Send" class="button_icon-button-icon__AMZta no-dark"> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" fill="none"> | |
<defs> | |
<path id="send-white_svg__a" d="M0 0h16v16H0z"></path> | |
</defs> | |
<g> | |
<mask id="send-white_svg__b" fill="#fff"> |
import numpy as np | |
from scipy.stats import shapiro, wilcoxon | |
# Example matrices A and B (10x10) | |
np.random.seed(42) # For reproducibility | |
A = np.random.normal(0, 1, (15, 10)) | |
B = np.random.normal(1, 1, (15, 10)) | |
# Step 1: Calculate the mean of each column for both matrices | |
mean_A = A.mean(axis=0) |
You can mainly refer to this PR and its issues: pyg-team/pytorch_geometric#8804
The easy and elegant way is just change the url.
def download_google_url(
id: str,
folder: str,
filename: str,
log: bool = True,