Skip to content

Commit

Permalink
Remove disable pylint import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Sep 10, 2024
1 parent 51bb66a commit 6463269
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions webots/controllers/RL_Supervisor/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
import csv
import os
import struct
import numpy as np # pylint: disable=import-error
import tensorflow as tf # pylint: disable=import-error
import tensorflow_probability as tfp # pylint: disable=import-error
from trajectory_buffer import Memory
from networks import Models
import numpy as np
import tensorflow as tf
import tensorflow_probability as tfp
from trajectory_buffer import Memory
from networks import Models

################################################################################
# Variables
Expand Down
10 changes: 5 additions & 5 deletions webots/controllers/RL_Supervisor/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
# Imports
################################################################################

import tensorflow as tf # pylint: disable=import-error
import tensorflow_probability as tfp # pylint: disable=import-error
from tensorflow import keras # pylint: disable=import-error
from keras import layers # pylint: disable=import-error
from keras.regularizers import l2 # pylint: disable=import-error
import tensorflow as tf
import tensorflow_probability as tfp
from tensorflow import keras
from keras import layers
from keras.regularizers import l2

################################################################################
# Variables
Expand Down
4 changes: 2 additions & 2 deletions webots/controllers/RL_Supervisor/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# mini-batch steps.

# Imports
import matplotlib.pyplot as plt # pylint: disable=import-error
import pandas as pd # pylint: disable=import-error
import matplotlib.pyplot as plt
import pandas as pd

# Define the path to the CSV file
LOG_FILE = "logs/training_logs.csv"
Expand Down
2 changes: 1 addition & 1 deletion webots/controllers/RL_Supervisor/trajectory_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Imports
################################################################################

import numpy as np # pylint: disable=import-error
import numpy as np

################################################################################
# Variables
Expand Down

0 comments on commit 6463269

Please sign in to comment.