54 questions
This code in the open processing does not make sense.void bounce (Part a, Part b) {if(sqrt(power(a.posX-b.posX,2)+power(a.posY-b.posY,2))<(a.radius+b.radius)){ if(sqrt(power(a.posX-b.posX,2)+power(...
I created a interface named Fn, but now I have NoClassDefFoundError. interface Fn { void f();}class fn implements Fn { void f() {println(default);}}void setup() { fn_fn = new fn() { public void f() {p...
I have a text file that was printed when I vectorized word information in a C language program called word2vec.The output is from the else statement of the following code:for(a=0;a<vocab_size;a++){...
I am creating a game with processing 3, and I would like to create a program that opens the setting screen (B screen) from the main screen (A screen) in a separate window, closes the B screen, and ret...
float x=400, y=100;int a = 20, b = 10;void setup() {size(800,200);}void draw() {rect(x-10, y-5, a, b);}void keyPressed() { intk = ';if(keyCode==RIGHT){x++;} else if(keyCode==LEFT){x--;} else if(keyCod...
I tried to proofread the text using Seq2seq at Pythorch, but Decoder prints only the same word.This is main.py.Doing this will give you training and more.#main.pyimport copyimport torchimport torch.nn...
Preface: I'm sorry if I wrote something wrong or off the mark due to my lack of knowledge.What I don't know: Optimal design using multi-threaded (multi-process) server applicationsProgram you want to ...
Look for static image file formats that can store HDR (High Dynamic Range) images uncompressed.I think HEIF and JPEG-HDR can store HDR, but I think these are irreversible compression files.I think the...
The arduino with the camera sent me information about the image, and I wrote a processing program to display it with point(), but after I completely display the image, if I display the image again, th...
Ask about additional Word2Vec learning.If we learn a corpus once, generate a vector, and then add an unknown word to the corpus, do we need to relearn the corpus from scratch to vectorize the unknown ...
« | - 3 - | » |
© 2024 OneMinuteCode. All rights reserved.