Skip to content

Commit

Permalink
Handle pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
franflame committed Oct 10, 2023
1 parent 88dea3a commit ff2eb1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion foqus_lib/framework/surrogate/pytorch_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from multiprocessing.connection import Client

import random as rn
import torch
import torch # pylint: disable=import-error
import torch.nn as nn # pylint: disable=import-error

# custom class to define Keras NN layers
Expand Down
2 changes: 1 addition & 1 deletion foqus_lib/framework/surrogate/scikit_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from multiprocessing.connection import Client

import random as rn
from sklearn.neural_network import MLPRegressor
from sklearn.neural_network import MLPRegressor # pylint: disable=import-error
import pickle
from types import SimpleNamespace

Expand Down

0 comments on commit ff2eb1f

Please sign in to comment.