Skip to content

Commit

Permalink
Remove unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
GusttavoOliveira committed May 17, 2024
1 parent 2b3d02b commit 448c8d0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions api/Neural_Network2.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,6 @@ def validate_epoch(model, valid_loader, criterion):

return total_loss / total

import os
import json
import torch
from tqdm import tqdm
from torch.utils.data import DataLoader
from sklearn.preprocessing import LabelEncoder
import joblib

def create_and_train_model(df, name, epochs=10, batch_size=32, learning_rate=0.001):
# Configurações iniciais e preparações do modelo
Expand Down

0 comments on commit 448c8d0

Please sign in to comment.