Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
116 views

I have embeddings (about 160 Million) that I created with a BERT-based encoder model. Right now they are in a .pt format and takes about 500GB in the disk. I want 2 things: To save them in an ...
Noam's user avatar
  • 55
0 votes
0 answers
27 views

I have a pipeline definition. My server correctly decodes the frame and generates the appropriate response using the encoder. However, after this, the decoders are run a second time with the same ...
Konrad Groń's user avatar
-1 votes
1 answer
138 views

I have a table of 16 entries where each entry is 4 bits wide. There is a 4 bit input search vector that i have to find in the table and then return the row number of the matched entry. The entries are ...
Ajay's user avatar
  • 1
0 votes
0 answers
270 views

I'm trying to install the Voice-Cloning Library with pip. Reference: https://pypi.org/project/Voice-Cloning/ And I get the error in this line: from voice_cloning.generation import * I get this error: ...
Leon Hausmann's user avatar
1 vote
0 answers
38 views

Problem I'm having troubles correctly adding physics-informed losses to my training code for my neural network. Background I have an encoder that takes an input curve, X(w), where w is an independent ...
tsf44's user avatar
  • 13
0 votes
0 answers
29 views

I am trying to read the output of an encoder using CubeIDE. I have a DC motor with a magnetic encoder attached. When the encoders are measured using a multi-meter the outputs are ranging between 0 to ...
user26552408's user avatar
0 votes
1 answer
1k views

In the transformer architecture from the original paper, I referred many texts but I couldn't solve this insight. Lets start with input sentence, "The cat jumped." My understanding is, each ...
eddys's user avatar
  • 1,197
1 vote
1 answer
75 views

I am making this project for my school: a whole fridge using Arduino. I used a ds18b20 temperature sensor, tm1637 to display the current temperature inside and a solid state relay to start the motor ...
youssef samy's user avatar
0 votes
1 answer
86 views

I am trying to use the hardware encoder for AVC encoding on android OMX.qcom.video.encoder.avc My format settings look like AMediaFormat_setString(avc_format, AMEDIAFORMAT_KEY_MIME, "video/avc&...
Sumanth Murali's user avatar
2 votes
0 answers
248 views

I have a generic Java class public class Person<T> { private String name; private List<T> attributes; } public class AttributeOne { // some fields } public class AttributeTwo ...
coderz's user avatar
  • 5,019
1 vote
1 answer
280 views

I'm trying to implement a transcoding pipeline in Android using mediacodec library in cpp. I have a h265 decoder that is running in surface mode. I changed this to buffer mode by removing the surface ...
Sumanth Murali's user avatar
0 votes
1 answer
116 views

RSC Definition I'm attempting to declare this RSC defined in this diagram using the poly2trellis function. After consulting the documentation for poly2trellis, I initially thought the correct approach ...
Jhonathan Nicolas's user avatar
1 vote
1 answer
46 views

I am trying to create a custom neural network that has 2 encoders and one decoder. The row encoder takes in the input of size eg: 30x40 and the column encoder is supposed to take the same data in ...
Chandana Deshmukh's user avatar
3 votes
1 answer
1k views

Please clarify if the Annotated Transformer Encoder LayerNorm implementation is correct. Transformer paper says the output of the sub layer is LayerNorm(x + Dropout(SubLayer(x))). LayerNorm should ...
mon's user avatar
  • 23k
1 vote
1 answer
301 views

I am experiencing an issue with the columns order after applying ColumnTransformer. If you run the following code: from sklearn.compose import ColumnTransformer from sklearn.preprocessing import ...
riccio777's user avatar
  • 191
1 vote
0 answers
131 views

So i am a beginner in the field of robotics, and I have successfully created an autonomous two-wheeled robot equipped with two encoders. I've implemented a PI regulation on speed, and while the robot ...
hephaestus's user avatar
0 votes
2 answers
310 views

I am currently working on a project where I am designing an embedded AVR system using ATmega88 as the controller. I am trying to output a PWM signal and I want to control its duty cycle with a rotary ...
John's user avatar
  • 1
1 vote
1 answer
329 views

I'm making a video converter app using react-native and want to compress videos problem arrives, like video downloaded from youtube in 4k are av1 encoded the device that does not have av1 hardware ...
Atul Tiwaree's user avatar
0 votes
0 answers
150 views

I'm using STM32f446RET6 and have configured TIM5 in encoder mode.I want the interrupt of TIM5 be triggered every time the period of timer overflows and goes to 0. Bellow is my code. When I watch the ...
MHBagh's user avatar
  • 31
-3 votes
1 answer
320 views

I need to get a shorter characters using my encrypted link. This is is the encoded characters Im currently getting using my code: data=xvXTyQe6cthuC0GdQcOvCR5PKSlFiMqLBt7tM0zbxHs%3D. I want to achieve ...
Sham's user avatar
  • 1
0 votes
0 answers
54 views

I want an attention model for HCVRP problem: import torch import torch.nn.functional as F import numpy as np from torch import nn import math class SkipConnection(nn.Module): def __init__(self, ...
Iman Kazemian's user avatar
1 vote
2 answers
165 views

I am using the mp4box library to create a media file that includes video and audio tracks. I have set up my audio encoder output callback using the following code: if (encodingAudioTrack === null) { ...
Alexander Guzienko's user avatar
0 votes
1 answer
268 views

I'm having a problem with the decoder I'm using. Using my ESP32 I'm encoding my value with the following code: float Energia; int sensorValue = Energia *100; Serial.println("Reading is:" ); ...
Matías Idrobo's user avatar
0 votes
1 answer
70 views

I am trying to make an encoder that does not have a predefined encoding/decoding dictionary in Python. My plan is that it would use the string library to get all the things, then shuffle the ...
Siddharth Dhir's user avatar
1 vote
1 answer
38 views

When I want to use the LSTM-encoder model for anomaly detection, can I input both normal data and anomaly data while training the LSTM-encoder model? Or is only the normal data needed to be used for ...
Susan's user avatar
  • 539
-1 votes
1 answer
38 views

error while model.fit second screenshot Tried reshaping, and give on the param out_put shape, BTW it doesn't exist Help, second day trying to fix that`
Daniil Zakharov's user avatar
0 votes
1 answer
70 views

I am passing a audio file through the Wav2Vec2FeatureEncoder. It passes through the 7 convolutional layer, the params being conv_dim=(512,512,512,512,512,512,512) feat_extract_norm="layer". ...
afsara_ben's user avatar
1 vote
0 answers
170 views

I'm trying to make a chatbot model using Tensorflow Javascript and I want to tokenize the text such that I can separate the context, the past messages and the current prompt to output a reply. So I ...
Tawananyasha State's user avatar
0 votes
1 answer
1k views

I am trying to create an encoder-decoder-model, which encodes an 10x10 list and should decode it to an 3x8x8 array/list. Which loss function should I choose to achieve this? I know that the shapes of ...
liz's user avatar
  • 35
0 votes
2 answers
1k views

I am using org.owasp.esapi in a java project. I am using the ESAPI.encoder().forHTML() method for encoding the user input but this method encodes the '&' to "&" but I do not want to ...
Saptarshi's user avatar
0 votes
0 answers
48 views

Recently adquired two encoders RM7012 from IFM with CanOpen comunitacion, I have problems with the sychronization of these, I have comunication losses, when these encoders are working both at the same ...
Javier's user avatar
  • 1
1 vote
1 answer
625 views

I have a dataset and have one hot encoded the target column (5 different strings throughout the entire column) using pd.get_dummies. I have then used sklearn's train_test_split function to create the ...
Lewis-010's user avatar
1 vote
0 answers
110 views

I can get plenty of images of desktop capture, but I want to encode them with some video encoder, then send the video data through network. The another application (Data receiver) will get that data ...
SlimeNull's user avatar
1 vote
2 answers
186 views

I wanna implement text2image neural networks like the image below: Please see the image using CNNs and Transposed CNNs with Embedding layer import torch from torch import nn Input text : text = &...
Mohammed's user avatar
  • 366
1 vote
0 answers
272 views

I trying to make an api to download file from server folder but have some problem with encoder. This is my code: @login_required(redirect_field_name="next",login_url='login_form') def ...
williamdam's user avatar
0 votes
1 answer
562 views

I'm trying to construct an encoder to get the latent space in order to plot it. I don't really know if I can get it from the RepeatVector or if I have to add a Dense layer. Here is my code: model = ...
user5789's user avatar
1 vote
1 answer
356 views

I am writing to write encoder/decoder for Any. So suppose my class is case class Demo( field1: Any ) and then I try to encoder it via val myDemo=Demo(field1=None) print(myDemo.asJson+"\n") ...
Freez's user avatar
  • 61
0 votes
0 answers
47 views

I am creating a mobile robot at my work using a Raspberry 3b+ as microcontroller. To determine the robot displacement I am using a motor with encoder sensors. The problem is: I need to read the ...
Felipe Santos's user avatar
1 vote
1 answer
8k views

I received a video file that I am trying to determine when the video was originally recorded. The file is a .mov video that is muxed with an audio file. The EXIF data shows multiple creation/...
mkyle's user avatar
  • 11
1 vote
1 answer
262 views

I have the model with Accuracy of 97% and I am using Ordinal Encoder to fit and transform the data to numeric value. Saving both objects to .pkl. I am using Random Forest Classifier. OrdinalEncoder(...
Sarthak Patel's user avatar
0 votes
1 answer
347 views

I have a dataframe which includes both numeric and non numeric values (It includes some special characters like -, space etc). I want to encode that Non Numeric value to run corr(). Non numeric Column ...
Poorna Ayyappan's user avatar
0 votes
1 answer
549 views

I was trying to read one csv file using; df= pd.read_csv('Diff_Report.csv',on_bad_lines='skip',encoding='cp1252',index_col=None) Input Example But the code outputs as in the following screenshot. Why ...
Ammu07's user avatar
  • 25
0 votes
0 answers
909 views

This question is based on the following thread: Arduino RPM code with Quadrature Encoder 600ppr Code: const int encoder_a = 3; // Pin 3 const int encoder_b = 5; // Pin 5 long encoder_pulse_counter = 0;...
le_stan's user avatar
1 vote
1 answer
221 views

I am using below function to generate ksuid in byte format but i need it to return ksuid in string format. I tried returning id.string() value but i am getting below error error: cannot use id.String()...
code_recall's user avatar
3 votes
1 answer
12k views

When I try to run my code for Donut for DocVQA model, I got the following error """Test""" from donut import DonutModel from PIL import Image import torch model = ...
Armen Melkonyan's user avatar
0 votes
0 answers
360 views

I implemented video encoder in C using libav libs. I could not seem to figure out how to set encoding slices to 1. Here is what I'm doing while initializing encoder: avcodec_register_all(); enc->...
Filip Vuković's user avatar
0 votes
2 answers
3k views

I'm trying to use the after effect and i try to use Media Encoder to eksport composition to mp4 but always show error like this here i solution i had try https://community.adobe.com/t5/adobe-media-...
Hansen's user avatar
  • 694
0 votes
0 answers
71 views

My radio stations are each in a city. I want to connect them via the Internet and manage them from one place. Is there any device that can be used other than a computer? That is, like an encoder and ...
Dilman Omer's user avatar
1 vote
1 answer
444 views

I am confused on, is H. 264 a codec (software used to encode/decode) or standard/format given; and there are software codecs that uses H.264 to encode/decode.
Swaminath Bera's user avatar
0 votes
1 answer
553 views

I am getting enocded data in a uin8_t* buffer with the buffer size, can I use ffmpeg decoder to decode this data ? If so How can I convert uint8_t* encoded_data to the AvPacket required by ffmpeg? do ...
K. Srikar's user avatar

1
2 3 4 5
13