Assistance with Integrating Pretrained Data and Testing in Python Code [closed]
Stack Overflow » Machine Learning
by Ahmed Abokhatwa
10h ago
Hello Stack Overflow community, I'm currently working on a Python project where I need to integrate both trained and testing data into my code The global algorithm has been implemented in C++. However, I'm feeling a bit lost as to whether I've placed the pretrained data in the right locations or not. I've attempted to add the data, but I'm uncertain if it's in the correct places. Additionally, I'm facing challenges in testing the code with my own dataset and analyzing the output. If anyone could provide guidance or suggestions on the proper placement of pretrained data and offer insights into ..read more
Visit website
How to extract human score in wmt dataset
Stack Overflow » Machine Learning
by Mohit Sharma
10h ago
I need WMT news data with human score. I looked at github link https://github.com/wmt-conference/wmt22-news-systems , there is an xml folder which contains the source, reference, translated data. And there is another folder with name humaneval, there human scoring is provided. I am facing challenge to connect both the data. In humaneval data SID column is provided but that has different value than source_id provided in xml data. If anyone can help in guiding the connection between those two data folder, that would be helpful ..read more
Visit website
Computational Learning Problem: 3-DNF Reduction
Stack Overflow » Machine Learning
by Mr.Zhang
10h ago
I'm not sure how to solve this problem. Problem statement is: Consider the binary classification problem where X = R d and Y = {0, 1}. Consider the class of Binary classifiers given by intersection of three half-spaces. Show that proper learning w.r.t. this class of intersection of three half-spaces (the class F) is computationally hard to learn properly unless NP = RP. Specifically Hint: Remember we are thinking of only proper learning. Try a reduction using the 3 term DNF class. An extra hint is use d = 2m, m coordinates for the inclusion of each coordinate and m coordinates for inclusion of ..read more
Visit website
Tf.image.rgb_to_grayscale does not actually produce a grayscale image?
Stack Overflow » Machine Learning
by NiCat MacLear
10h ago
Apologies for asking such a dumb question. I'm new to all of this and have not used this function before. I'm required to do this for an assignment, and looked all over google to find if anyone has run into this problem but I haven't seen anyone asking about this. Why is tf.image.rgb_to_grayscale not producing an actual grayscale image? Or is this just the "grayscale" image that is widely accepted? rgb_to_grayscale does not produce grayscale pictures input_images = tf.image.rgb_to_grayscale(target_images) This is what I did to produce the input images. I'm not sure if I'm using it wrong but th ..read more
Visit website
RandomForest function giving error when applied in predict function
Stack Overflow » Machine Learning
by Rastko M.
10h ago
When I train a model using randomForest, and then attempt to predict, in the following manner, there are no issues: rf <- randomForest(price_category~., data=train_set, ntree=300,importance=TRUE) test_set$ClassPredicted <- predict(rf, newdata = test_set, "class") However, when I attempt to chose the predictors, and structure it in the following way: rf1 <- randomForest(price_category = living_area + year + n_photos + energy_label, data = train_set, ntree=1000, importance=TRUE) test_set$ClassPredicted <- predict(rf1, newdata = test_set, "class") This error pops up: Error in ..read more
Visit website
Real Time Multi Detection (RTMDet) CONFIG_PATH fileNotFoundError
Stack Overflow » Machine Learning
by rileylivingston
10h ago
Im trying to follow the Roboflow guide to training RTMDet on a custom dataset. I don't have a high end GPU so I'm trying to use a colab environment. When I try to initialize the Model using the rtmdet_m weights and config file I get a filenotfound error even though I'm 100% positive the files exist in the drive directory. I believe the issue has something to do with the Base within the config file below _base_ = '/content/drive/MyDrive/RTMDet_Models/rtmdet_l_syncbn_fast_8xb32-300e_coco.py' # ========================modified parameters====================== deepen_factor = 0.67 widen_factor ..read more
Visit website
Convert a group of images in 'n' folders to dataset (eg: Mnist), to work with CNN
Stack Overflow » Machine Learning
by Rookie91
10h ago
I am trying to convert images generated in to a dataset. (All I have is just png images in n folders and there is no label or meta data) This is what I aspire to do: I am using torch audio to convert audio formats to Mel spectrogram and save the images as png format. Status:done Now I have n number of folders(classes) with images so I am curious if I could convert the newly generated images into data and target as in normal datasets, so that I can use sklearn to do the test train splits sklearn.model_selection.train_test_split . Status:not done eg: fetch mnist dataset ds_mnist = sklearn ..read more
Visit website
Is it possible to convert a group of images in n folders to be converted in to dataset(eg:Mnist), to work with CNN?
Stack Overflow » Machine Learning
by Rookie91
23h ago
I am trying to convert images generated in to a dataset.(All I ahve is just png images in n folders and there is no label or meta data) This is what I aspire to do: I am using torch audio to convert audio formats to Mel spectrogram and save the images as Png format. Status:done Now I have ‘n’ number of folders(classes) with images so I am curious if I could convert the newly generated images into data and target as in normal datasets, so that I can use sklearn to do the test train splits sklearn.model_selection.train_test_split . Status:not done eg: fetch mnist dataset ds_mnist = sklear ..read more
Visit website
Looking for Alternate Libraries for a Deep Learning Project [closed]
Stack Overflow » Machine Learning
by Century2210
23h ago
I have Python 3.12.0. My project called for TensorFlow, however it can only be used with Python 3.11. The same is true for PyTorch. Is anyone aware of other libraries I can use in place of those I mentioned, compatible with Python 3.12? Tried to install TensorFlow and PyTorch ..read more
Visit website
How to extract best estimator of a SequentialFeatureSelector
Stack Overflow » Machine Learning
by Maxipet
23h ago
I have trained a SequentialFeatureSelector from sklearn and am now interested in the best model (based on the given scoring method) it produced. Is there a possible way of extracting the parameters and using them generate the model that was used? I have seen that there exists a get_params() function for the SequentialFeatureSelector, but I don't undestand how to interpret the output and retrieve the best estimator ..read more
Visit website

Follow Stack Overflow » Machine Learning on FeedSpot

Continue with Google
Continue with Apple
OR