Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
0 answers
83 views

How to import huggingface dataset files?

The .hf file from HuggingFace's datasets library is a very popular format: https://github.com/huggingface/datasets. Is there an easy way to import these from either files on disk or their webportal?
user5601's user avatar
  • 3,820
0 votes
0 answers
48 views

interface problem for image recognition

I made the following code that should recognize the image imported from the pc. If I do it for the first time it's fine, but if I load a second image it leaves me the name of the previous one. You ...
Pasquale's user avatar
1 vote
0 answers
82 views

How to parse through a .txt file in the Classify function and assign a class to each item?

I have 2 txt files that contain 500 DNA sequences each. Both files use 2 hard returns to separate the sequences like so: ATCGATCT... ATCGATCT... ATCGATCT... I ...
Laughing Man's user avatar
3 votes
0 answers
221 views

Is is a bug when importing MXNet model?

There is a trained net:model.zip Using Python to make prediction: ...
partida's user avatar
  • 6,866
0 votes
0 answers
77 views

How can I speed up import images into memory and make training more efficient

My memory is 32GB, windows 10, cpu 7700k, GTX1080 50k images[400MB] cost me 30 minutes. In a CAPTCHA example, a simple net and in tunning hyper-parameters step with small values of MaxTrainingRounds, ...
HyperGroups's user avatar
  • 8,649
21 votes
1 answer
2k views

How to import a Tensorflow model?

I've trained a network in Tensorflow and have the checkpoint files, I'd like to if anyone has written a parser or importer to pull the evaluation graph and/or weights into Mathematica?
user5601's user avatar
  • 3,820
1 vote
1 answer
291 views

Constructing List of Rules from imported data

I would like to create a List of Rules data structure to be used in the Classify function. I have sample input data stored in ...
Mike's user avatar
  • 175
1 vote
1 answer
294 views

ClassifierFunction::mlbddataev: The data being evaluated is not formatted correctly

I am trying to run the NearestNeighbor classifier on the wisc_bc_data.csv dataset as follows: ...
сакиб али's user avatar
3 votes
2 answers
947 views

Classifying images in mass with URLs and CSV file

I'm looking to train a image classifier with a large number of examples and categories (30,000 & 100). I would then import a file of image URLs that need to be classified, and export the results. ...
JonathanKolar's user avatar
6 votes
1 answer
807 views

How to import/export to libsvm?

Under the hood Mathematica uses libsvm, so I don't think this question is beyond the pale. I need to export an svm I trained with Classify to the standard SVM Format (which is readable by libsvm). ...
M.R.'s user avatar
  • 31.8k
7 votes
2 answers
1k views

Importing multiple images for machine learning classification

I want to create a ML classifier using images just like this example. I have two classes of images in two different folders. Is there an easier way to import all images from both folders rather than ...
Fábio Perez's user avatar