Skip to content

Instantly share code, notes, and snippets.

View G36maid's full-sized avatar
🇹🇼

G36maid G36maid

🇹🇼
View GitHub Profile
#!/bin/bash
if [ $# -lt 1 ]; then
echo "Usage: $0 <cpp_file> [input_file] [output_file]"
exit 1
fi
cpp_file=$1
input_file=$2
output_file=$3
Traceback (most recent call last):
File "/app/lyrisOnlyModel.py", line 141, in <module>
main()
File "/app/lyrisOnlyModel.py", line 138, in main
traning(lyrisfile, bert_model, tokenizer, model, diffusionModel, title, artist)
File "/app/lyrisOnlyModel.py", line 79, in traning
lyris_vector = BERT(**lyrisinputs).last_hidden_state[:, 0, :]
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1553, in _wrap
absl-py==2.1.0
accelerate==0.34.2
aiohappyeyeballs==2.4.3
aiohttp==3.10.9
aiosignal==1.3.1
anyio==4.6.0
asttokens==2.4.1
astunparse==1.6.3
attrs==24.2.0
#audio_to_midi==2020.7
@G36maid
G36maid / packages.txt
Created October 10, 2024 10:11
pacman
a52dec 0.8.0-2
abseil-cpp 20240722.0-1
acl 2.3.2-1
adobe-source-code-pro-fonts 2.042u+1.062i+1.026vf-2
adobe-source-han-sans-cn-fonts 2.004-2
adobe-source-han-sans-tw-fonts 2.004-2
adwaita-cursors 47.0-1
adwaita-icon-theme 47.0-1
adwaita-icon-theme-legacy 46.2-3
alsa-card-profiles 1:1.2.5-1
@G36maid
G36maid / Aur.txt
Created October 10, 2024 10:13
pacman
google-chrome 129.0.6668.100-1
libnm-iwd 1.48.10-1
networkmanager-iwd 1.48.10-1
paru 2.0.4-1
paru-debug 2.0.4-1
termius 9.3.1-1
youtube-dl 2021.12.17-3
@G36maid
G36maid / aur.txt
Created October 10, 2024 10:14
pacman
google-chrome
libnm-iwd
networkmanager-iwd
paru
paru-debug
termius
youtube-dl
Nov 01 11:56:28 archfw13 NetworkManager[726]: <info> [1730433388.4895] device (wlan0): state change: disconnected -> prepare (reason 'none', managed-type: 'full')
Nov 01 11:56:28 archfw13 NetworkManager[726]: <info> [1730433388.4897] manager: NetworkManager state is now CONNECTING
Nov 01 11:56:28 archfw13 NetworkManager[726]: <info> [1730433388.4899] device (wlan0): state change: prepare -> config (reason 'none', managed-type: 'full')
Nov 01 11:56:28 archfw13 iwd[636]: event: connect-info, ssid: eduroam, bss: 4a:41:e6:ec:54:44, signal: -90, load: 0/255
Nov 01 11:56:28 archfw13 iwd[636]: event: state, old: disconnected, new: connecting
Nov 01 11:56:28 archfw13 NetworkManager[726]: <info> [1730433388.4907] device (wlan0): new IWD device state is connecting
Nov 01 11:56:28 archfw13 kernel: wlan0: authenticate with 4a:41:e6:ec:54:44 (local address=44:fa:66:08:ab:ef)
Nov 01 11:56:28 archfw13 kernel: wlan0: send auth to 4a:41:e6:ec:54:44 (try 1/3)
Nov 01 11:56:28 archfw13 kernel: wlan0: send auth to 4a:41:e6:ec
[IPv6]
Enabled=false
[Security]
EAP-Method=PEAP
EAP-Identity=*********@eduroam.ntnu.edu.tw
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=*********@eduroam.ntnu.edu.tw
EAP-PEAP-Phase2-Password=*********
#include <bits/stdc++.h>
using namespace std;
#define IOS ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define ll long long
#define pii pair<int , int>
typedef struct{
int x;
int y;
int dis;
@G36maid
G36maid / hw0205.c
Last active November 22, 2024 15:22
#include <stdio.h>
#include <stdint.h>
#include <math.h>
int main() {
int width , height , total_pane, job;
char buffer;
printf("please input the window size (width)x(height): ");
scanf("%d%c%d", &width ,&buffer, &height);