Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 19 results for
pytorch
- Page 1
Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
1 Year Ago
by usmanmalik57
…('cuda' if torch.cuda.is_available() else 'cpu') ``` To create a
PyTorch
dataset for our problem, will define the `SpeechClassificationDataset` class that… transform our `train_audio_dataset`, `test_audio_dataset`, and `val_audio_dataset` Hugging Face datasets into
PyTorch
datasets. To process the datasets in batches, we create corresponding…
Video Classification using Hugging Face Transformers in PyTorch
Programming
Computer Science
1 Year Ago
by usmanmalik57
…docs/transformers/index) for video classification in
PyTorch
. The Hugging Face documentation provides an … its performance on the test set. ## Creating
PyTorch
Datasets ## The following script defines the `VideoClassificationDataset`…explores their adaptation for video classification in
PyTorch
, explicitly focusing on fine-tuning a Hugging…
Custom Loss Functions in PyTorch: A Comprehensive Guide
Programming
Computer Science
1 Year Ago
by usmanmalik57
… model’s accuracy. Various libraries, such as [
PyTorch
](https://
pytorch
.org/), TensorFlow, and Keras, provide a plethora…: * Ensure your loss function is differentiable since
PyTorch
uses gradient descent for optimization. * Test your …the implementation of a custom loss function in
PyTorch
. Through the practical example of predicting housing …
Fine Tuning Vision Transformer for Image Classification in PyTorch
Programming
Computer Science
1 Year Ago
by usmanmalik57
… define a method that converts our Pandas DataFrame to a
PyTorch
dataset. ``` class ImageClassificationDataset(Dataset): def __init__(self, data_df, image_processor): …) test_loader = DataLoader(test_dataset, batch_size=batch_size, shuffle=False) ``` ## Creating a
PyTorch
Model for Fine-tuning We are now ready to fine…
Re: Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
1 Year Ago
by habi_2
how to use the best_model.pt
Re: Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
9 Months Ago
by Duane_4
This is an interesting and useful post. I believe there is a typo in the 7th code block relating to train/val/test split. The second line should read: val_df, test_df = train_test_split(temp_df, test_size=0.5, random_state=42) The whole point of temp_df in the first line was to separate out 30% for val/test; the second line splits that to …
Re: Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
9 Months Ago
by meyerrluanna
The post gives a really clear, step-by-step guide on how to fine-tune the OpenAI Whisper model for audio classification. Its great how it covers everything from preparing the dataset to using tools for feature extraction and model training .This is definitely worth checking out, The explanations are practical, and the code snippets make it easy to …
Re: Custom Loss Functions in PyTorch: A Comprehensive Guide
Programming
Computer Science
1 Year Ago
by AndreRet
As always, precise and in detail, great tutorial!
Facial Emotion Detection with Vision Transformers and DeepFace Library
Programming
Computer Science
1 Year Ago
by usmanmalik57
…else 'cpu') ``` Next, we define the `ImageClassificationDataset` class, a
PyTorch
dataset class that transforms our train, test, and validation dataframes… into
PyTorch
datasets. ``` class ImageClassificationDataset(Dataset): def __init__(self, data_df, image_processor…
TensorFlow Keras Sequence Data Generator for Multimodal Classification
Programming
Computer Science
1 Year Ago
by usmanmalik57
… is the trickiest part of this problem. The Python [
PyTorch
](https://
pytorch
.org/) library handles this problem relatively easily using the `DataSet…
Hi there! I'm searching for a talented developer to join our start-up!
Programming
Software Development
4 Years Ago
by Jack Tarsh
…, experienced in developing iOS apps. Being fluent in Python and
PyTorch
is also essential, and relevant experience using Lidar – whether it…
Multilabel Text Classification using Hugging Face Models for TensorFlow
Programming
Computer Science
2 Years Ago
by usmanmalik57
… three flavors: 1. Via the Trainer Class API 2. Via
PyTorch
Models 3. Via TensorFlow Models The HuggingFace documentation for [Trainer…
Tabular Data Classification with Hugging Face Meta Tree Transformer
Programming
Computer Science
1 Year Ago
by usmanmalik57
… 256, we will create a custom dataset class and use
PyTorch
's `DataLoader` to batch and shuffle the data. The batch…
Re: Hi everyone, I'm leejohn63
Community Center
Say Hello!
2 Years Ago
by Reverend Jim
Welcome to Daniweb. These days my older son is learning SQL and machine learning with python/pandas/
pytorch
. I'm tagging along to help with the SQL and picking up what new skills I can along the way.
Re: Thinking to write a simple "AI app" tutorial , should I do it ?
Community Center
Geeks' Lounge
11 Months Ago
by Reverend Jim
I'd definitely follow that. My older son does a fair bit of AI work and he exclusively uses Python with
Pytorch
. I would strongly recommend that over C++. Also, if you aren't familiar with Jupyter notebooks I suggest you have a look - I found that vscode was the interface that was the easiest to set up and use.
Re: Facial Emotion Detection with Vision Transformers and DeepFace Library
Programming
Computer Science
1 Year Ago
by peol
Attentional Convolutional Network. Facial expression recognition has been an active research area over the past few decades, and it is still challenging due to the high intra-class variation.
Re: Hi there! I'm searching for a talented developer to join our start-up!
Programming
Software Development
4 Years Ago
by rproffitt
I see you on the web. Example: https://webcache.googleusercontent.com/search?q=cache:46SRQ8EEtKYJ:https://www.roomfurnisher.com/what-we-are-doing+&cd=4&hl=en&ct=clnk&gl=us&client=opera App developers here seem to be plentiful. I worry here that you are proposing no pay during development. Folk have to eat, pay rent and buy…
Re: Multilabel Text Classification using Hugging Face Models for TensorFlow
Programming
Computer Science
2 Years Ago
by Iuliia
Hello! Thanks for example! Please, tell, why do you use BinaryCrossentropy while there is 6-classes classification? Doesn't one should you CategoricalCrossentropy?
Re: Multilabel Text Classification using Hugging Face Models for TensorFlow
Programming
Computer Science
1 Year Ago
by Aravind_11
Thank you very much for this informative example! I have a question regarding the line "bert = TFAutoModel.from_pretrained(model_name, from_pt = True)". Since we are using Tensorflow here, shouldn't we leave out "from_pt = True" ?
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC