-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic CLI #97
Add basic CLI #97
Conversation
@@ -4,6 +4,10 @@ | |||
|
|||
from ._logger import INFOFORMATTER | |||
|
|||
import warnings | |||
|
|||
warnings.filterwarnings("ignore", message=r"Passing", category=FutureWarning) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @Philoso-Fish , this one supresses the ugly:
/home/morty/dev/carla/env/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/morty/dev/carla/env/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
warnings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really great 👍
5785ce1
to
7e3be25
Compare
import tensorflow as tf | ||
import torch | ||
|
||
|
||
tf.get_logger().setLevel(logging.ERROR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove more tensorflow warnings
"Click==8.0.1", | ||
"dice-ml==0.5", | ||
"h5py==2.10.0", | ||
"ipython", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Philoso-Fish do we really need ipyhon btw? That seems to be more for notebooks etc?
Towards #96