All Questions
23 questions
0
votes
0
answers
46
views
(Beginner)My AI(U-net) isnt training/testing properly
I'm new to AI and Python, so I've been trying to use U-net to create an AI that can identify and segment cracks. My results are like this:
Epoch 5/25
20/20 [==============================] - 42s 2s/...
0
votes
0
answers
32
views
Multiple issues and errors with tensor flow array / matrix / tensor shape and data manipulation
import tensorflow as tf
import numpy as np
from tqdm import tqdm
from datasets import load_dataset
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
from ...
0
votes
1
answer
51
views
Error in AI deepdreams code in tensorflow
I try to run the code below, but this error keeps happening
NotImplementedError: Cannot convert a symbolic tf.Tensor (Mean:0) to a
numpy array.
This error may indicate that you're trying to pass a ...
1
vote
0
answers
54
views
Tensorflow facial identification - Shapesare Incompatible
i ran into an error while trying to train a tensorflow model. In my code below i can choose a folder with pictures of the person and its name. The Pictures should get trained by the model. At the ...
0
votes
1
answer
126
views
How remove the label data from feature data from window time series (tensorflow)
I train a models of time series forecasting use tensorflow. The models in this tutorial will make a set of predictions based on a window of consecutive samples from the data.
*I want to remove the ...
1
vote
0
answers
70
views
Keep getting errors with Tensorflow python
import tensorflow as tf
import numpy as np
import random
class ModelClass:
""" used for getting all the juicy payloads and making them """
def __init__(self, ...
0
votes
1
answer
1k
views
How to convert numpy array to a tensor in this case?
I have used this code previously, and it worked fine, but I am trying to differentiate between two variables, male & female in this case. I have a .csv file of names that generally correspond to ...
0
votes
2
answers
653
views
Sliding window input (image sequence) for convolutional neural network
I am currently trying to feed an image sequence as a single input entity to my CNN. I found the numpy utility numpy.lib.stride_tricks.sliding_window_view
My image data wrapper array has shape: (...
0
votes
1
answer
263
views
Can you build a classification model with a simple numpy array
I was wondering if I could build a classification model that just works on simple data I for example stock market classification 1 if it goes up 0 of down. I ask because I never see models like this ...
0
votes
0
answers
135
views
I cannot convert my pandas dataframe to a tensorflow dataset - Get a Value Error
My data source - https://www.kaggle.com/vbookshelf/respiratory-sound-database
Tensroflow version - 2.4.0
After a bit of Data Cleaning my pandas Dataframe looked like this:
My objective is to make ...
0
votes
1
answer
2k
views
How to extract a segmented object after it has been masked using Maskrcnn
I have an image. I am using Matterports Maskrcnn algorithm to perform segmentation. Now I have the segmented masks aftr detection. I want to extract this object and then create a new blank image (...
3
votes
1
answer
21k
views
ValueError: matmul: Input operand 0 does not have enough dimensions (has 0, gufunc core with signature (n?,k),(k,m?)->(n?,m?) requires 1)
im new in the crate and programm A.I, and idk how solve this problem, i was programming with the help of YouTube, but he haven't this problem and since I'm new I have no idea how to solve it, much ...
1
vote
0
answers
294
views
How to predict a winner in a 5v5 game using tensorflow?
I have data from a 5v5 player game that looks like this:
map1,ally1,ally2,ally3,ally4,ally5,enemy1,enemy2,enemy3,enemy4,enemy5,winner
For example:
Jaguar Falls,Androxus,Tiberius,Khan,Jenos,Seris,Inara,...
0
votes
0
answers
105
views
Keras sequential network: Attempt to convert a value (75) with an unsupported type (<class 'numpy.int32'>) to a Tensor
I am attempting to predict the ideal move in a game using a keras sequential network. The network is fairly simple with (what I think to be) an input shape of (3216,). The code for defining the ...
0
votes
1
answer
2k
views
InvalidArgumentError: Input to reshape is a tensor with 27000 values, but the requested shape has 810000 [Op:Reshape]
Getting the following error message when setting up a 3D-GAN for ModelNet10:
InvalidArgumentError: Input to reshape is a tensor with 27000 values, but the requested shape has 810000 [Op:Reshape]
In ...