# All Questions

9,866 questions
Filter by
Sorted by
Tagged with
2 views

### Recognize the object that in different statue using Yolov5?

I am new to AI. I am wondering to build a system that can tell a basketball player of different status. For example, the system can tell he is dribbling the ball, shooting or defending. And the ...
2 views

### Discount factor in Value Iteration (FrozenLake Open AI Gym)

I was working with FrozenLake 4x4 from open AI gym. In the slippery case, using a discounting factor of 1, my value iteration implementation was giving a success rate of around 75 percent. It was much ...
1 vote
6 views

### Can we also estimate Vπ with SARSA?

For SARSA, I know we can estimate the Q(s,a), and the relationship between V(s) and Q(s,a) is Vπ(s) = Sum{π(s,a)Qπ(s,a)} for a∈A. So my question is, can we simply estimate Vπ by applying the above ...
8 views

### Theoretically how can the trait "humbleness" be incorporated into AI design specifically Artificial General Intelligence

On Google Scholar ("humble" and "AI") yields (About 175,000 results) While ("Humble AI") yields About 34 results It seems that the trait of "humbleness" and ...
4 views

### Using clustering to improve speed of classification

Hi I have a neural network which is very resource intensive and is used to classify audio clips. The classification is done in batches, where I record for a set period of time and then go through and ...
• 101
1 vote
9 views

### What are the specific differences between vision transformers variants?

I have tried 4 different types of attacks on vision transformers (ViT small and tiny, DeiT small and tiny) but the attack successes on smaller versions are higher than the tiny versions. My ...
10 views

### Can GNNs be used to predict the performance of a Neural Network?

Is possible to use a GNN to learn the hyperparameters and structure of a given DNN program (Tensorflow or PyTorch) and predict some metric about the program (accuracy, etc). Apparently, all PyTorch ...
9 views

### Keras model can't process anything but 600 by 400 images, even though it's not trained on them

I'm trying to train an AI to correct image colors. But can anyone tell me why this model is limited to processing 600 by 400 images? It can train on any resolution images i want to give it (currently ...
10 views

### What does Visual Transformers (ViT) have that CNN based attention modules - SE, CBAM does not have?

I am curious to the difference in how ViT aggregates global features with attention mechanism with attention modules in CNN like CBAM, and Squeeze and Excitation Networks (SENet) for image ...
• 121
5 views

What is wrong here: I can't seem to import a model into a different script using custom_objects (Using keras and tensorflow btw) I'm trying to do this, as I'd like to use the trained model, for some ...
6 views

### Why gradients are used in Layer-wise Relevance Propogation (LRP)?

To give you an overview, Layer-wise Relevance Propagation is a technique by which we can get relevance values at each node of the neural network. These calculated relevance values (per node) are ...
• 101
8 views

### What is a good first guess to set hyper parameters for Adam optimiser for Faster RCNN?

Is there a way to make an educated guess on how to set the hyper parameters for Adam optimiser for Faster RCNN depending on the size of the dataset and the loss function? I use the default values for ...
28 views

### How to manage impossible actions?

I am using Q-learning in julia language. Because of the solver’s configuration, actions have to be defined as the whole action space and impossible actions have to be also considered. It means that I ...
• 53
26 views

### Is the case of a big state space, should we use a softmax exploration policy rather than $\epsilon$-greedy for Q-Learning?

In Reinforcement Learning, epsilon-greedy policies are the most used exploration policies, but in case there is a big state space (let's consider 100,000 states and 2,000 actions) with impossible ...
• 53
10 views

### AI for text extraction and text recognition

Starting from text I'd like to be able to identify specific informations. Example : Input texts : "The invoice number is 18", "Inv : 75", "Inv N. : 84" Identified invoice ...
• 101
10 views

### Is there a model for image pair duplicate detection?

Is there a deep learning model for duplicate image pair detection? Looks like I have to use a Siamese network for this. I have a dataset with image pairs with labelling that they are duplicates or not:...
23 views

### How to create an AI that chats like me?

I have been researching how to make this possible using GPT-2 and a data source from my chats. But is there a way to train AI the same way Replika does? Train the AI in Live mode based on my answers ...
• 1
28 views

### Could Softmax Action Selection be useful to solve an episodic task with more than 100000 possible states and 2000 actions?

I am new in the field of RL. I am trying to use tabular methods, Q-Learning for solving a problem with more than 100000 possible states and 2000 actions. It is an episodic task. It takes a lot of time ...
• 53
19 views

### Is it possible to successively train an RL agent on the same environment with different data

I have a scheduling problem that I am trying to solve with RL (if you are interested in more details you can read about it here Reinforcement learning applicable to a scheduling problem?). I have ...
• 213
17 views

### Is the "Helvetica scenario" mentioned here related to Artificial Intelligence?

Consider the following sentence from the original GAN paper titled Generative Adversarial Nets in particular, $G$ must not be trained too much without updating $D$, in order to avoid "the ...
• 2,977
25 views

### Given A and B, C are independent of each other. Given A, B and C, D and E are independent of each other. What is the minimal number of parameters?

Assuming all variables $A, B, C, D,$ and $E$ are random binary variables. I come up with Bayes net: $D \rightarrow B \rightarrow A \leftarrow C \leftarrow E$ which has the minimal number of parameters ...
• 1
17 views

### How should $\epsilon$ decay be done?

I am new to reinforcement learning and I am trying to understand the relationship between its hyperparameters. When I use tabular methods, like Q-learning and SARSA, I know that for SARSA the agent ...
• 53
25 views

### What classification algorithm should i use for this data? [closed]

I have a data look like this, different color represents their label. As you can see the points are all very close to each other, so I assume that's the reason for the low accuracy. I am wondering ...
20 views

### Identifying country name with input as country national anthem audio sound wave file [closed]

Identifying country name with input given as country national anthem audio sound wave file. Identify the country name. This could be a good quiz question in General Knowledge (GK). What are the ...
35 views

### How to decode P bits that represent a random weight generator?

So I've been tasked by my neural network professor at university to replicate the following research: Intelligent Breast Cancer Diagnosis Using Hybrid GA-ANN. Each chromosome represents a possible net,...
15 views

### I am facing an error : not enough values to unpack (expected 3, got 1) [closed]

This is the function:: def DarkChannel(im,sz): b,g,r = cv2.split(im) dc = cv2.min(cv2.min(r,g),b); kernel = cv2.getStructuringElement(cv2.MORPH_RECT,(sz,sz)) dark = cv2.erode(dc,kernel) return dark if ...
1 vote
29 views

### When exactly does the split into different heads in Multi-Head-Attention occur?

I am confused by the Multi-Head part of the Multi-Head-Attention used in Transformers. My question concerns the implementations in Pytorch of nn.MultiheadAttention and its forward method ...
23 views

### Positional Encoding of Time-Series features

I’m trying to use a Transformer Encoder I coded with weather feature vectors which are basically 11 features about the weather in the dimension ...
11 views

### Implement 4D convolution as matrix-matrix multiplication - paper is confusing!

I am confused by this paper https://arxiv.org/pdf/1410.0759.pdf which displays on page 4 how to model a 3D convolution (input has more than 1 channel and filter has more than one output). In this ...
• 111
18 views

### Suggestion for optimal GPU configuration for LSTMs with PyTorch [closed]

I have to train an LSTM with about 3.5 million samples, sequence length of about 300, and batch size of 256. It is infeasible to do this on a CPU. Therefore, I am planning to buy an NVIDIA GPU (my ...
19 views

### How to find probability and value functions of blackjack states [closed]

Consider a game of blackjack: A player is in the middle of a game, with a hand of cards that sum to 18, no usable ace and the dealer’s card is a 10. If the player decides to hit, what are the possible ...
14 views

### Splitting a sequence into subsequences [closed]

I am working on an NLP problem with dependencies. In which I wish to break my sentence into sub phrases according to their dependencies. For example : text = Day without sunshine is like night. dep = ...
1 vote
35 views

### Can you make a Neural Network drunk or high?

We know that the human brain can become sozzled by various substances that are released into the brain, but can you make an artificial neural network drunk or high? For example on a RL Agent that ...
44 views

### Is it possible learning convergence is lost in Reinforcement Learning as the state space grows? What about catastrophic forgetting?

I am new in the AI field and I am trying to use Reinforcement Learning, Q-Learning and Sarsa algorithms to solve a sequential decision making problem. When I apply those algorithms to a problem with 6....
• 53
12 views

### Pipelines for the use of pretrained language and code models (e.g. OpenAI)? E.g. multi-hop use of OpenAI API? [closed]

When one uses OpenAI Codex or pretrained language model, then one simply enters the query and gets the answer from OpenAI API. But are there examples and efforts to build pipelines of OpenAI API calls?...
• 753
28 views

### Why do Convolution Neural Networks work on NLP/sequential tasks?

I have read some articles where people use 1D CNN for NLP tasks like sentiment analysis. My questions are, given that CNNs are largely used for images, how/why does this work on sequences/NLP tasks? ...
13 views

### Which existing model could be used for wind speed and direction prediction?

I am trying to predict the wind speed and wind direction in a graph network for a geographical area. The dataset includes the start and end nodes, the distance between them, and wind speed and ...
• 1
22 views

### Where can I find like mind research and scientists for my super AI ideas [closed]

How do I build a singularity research team what are some resources examples of my technology singularity ideas but I have lots more ideas eking to extend the boundaries of knowledge by the ...
25 views

### How to update item and user factors ALS in Group Specific Recommendation?

I have also asked this question on our Data Science site. I was going through this Group Specific Recommendation System paper. I want to implement this from scratch. I see that they have used ...
23 views

### If I can repeat ML experiments, how can I bound my results?

It has been asked here if we should repeat lengthy experiments. Let's say I can repeat them, how should I present them? For instance, if I am measuring the accuracy of a model on test data during some ...
18 views

### If we have a working reward function, would adding another action have a significant effect on the agent performance if task remains the same?

If we have a working reward function, providing the desired behavior and optimal policy in a continuous action/state-space problem, would adding another action significantly affect the possible ...
147 views

### Is it appropriate to represent 'total failure' as an absorbing state?

My understanding is that, in Markov decision processes, absorbing state are states which can transition only to themselves and that these transitions generate rewards of 0. I know that absorbing ...
• 121
24 views

### Identifying country name with input as country flag image [closed]

Identifying country name with input given as country flag image. Identify the country name. This could be a good quiz question in General Knowledge (GK). What are the machine learning algorithms to ...
1 vote
27 views

### What clustering algorithms work best for datasets with only binary categorical features?

I have a dataset with a lot of binary categorical features and a single continuous target value. I would like to cluster them, but I am not quite sure what to use. In the past, I have used DBSCAN for ...
• 115
10 views

### Is Object Detection Android app code available for ONNX/ORT object detection models? [closed]

I have a trained Object detection model in the ONNX format (optimized to run on mobile phones). I have converted that model into the ORT format (which is also a format that is optimized to run on ...
5 views

### Is it possible to add identities into existed face recognition system without re-train the NN?

I have followed some tutorials and I find out all of them could not add new faces. If a new face is added, the system would have to be retrained. This doesn't sound logical because it would waste too ...
14 views

### Why GAN is not as useful in tabular settings

This is inspired by a previous question Why are GAN models not heavily used for NLP? One answer says that the GAN is not as useful outside the image domain. Recently my friend and I are trying it out ...
180 views

### How does learning the moves of chess show up in a neural network?

Is learning the moves a special case or just the same sort of thing that happens as the AI learns strategy? If you take two different neural networks and teach them each how the pieces move, what ...
• 131
24 views

### Understanding of Gramian trick [closed]

I am now studying Gramian trick from this book : Recommendation systems handbook However, I am having problem understanding its mechanism as well as its maths. I tried to look up the reference paper ...
• 179