This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
The bazel test astronet/... unit test fails. #5
Comments
Hello @gators01 I was wondering if you ever found a solution to this problem. Thanks |
No. I can't find any help anywhere so I gave up several weeks ago...
…On Tue, Oct 15, 2019 at 7:47 PM ianson011 ***@***.***> wrote:
Hello @gators01 <https://github.com/gators01>
I was wondering if you ever found a solution to this problem. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=AMYMVQUU3ORP2RWKT3XI6FTQOZJA3A5CNFSM4IIHOJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKSDCQ#issuecomment-542450058>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMYMVQW3YRSCXBEWJGH2HSDQOZJA3ANCNFSM4IIHOJ5A>
.
|
@gators01 How are you running the test cases? You need to use command like this, hope the syntax is fine.
Also, make sure that versions are correct. For me following version removed all errors:
|
I used the syntax exactly as you show. I will check the versions but it was
a fresh recent install
…On Mon, Feb 24, 2020 at 1:41 AM Ritwik Sharma ***@***.***> wrote:
@gators01 <https://github.com/gators01> How are you running the test
cases?
You need to use command like this, hope the syntax is fine.
bazel test astronet/... astrowavenet/... light_curve/... tf_util/... third_party/... --test_arg=--test_srcdir=/Users/ritsharm/git/exoplanet-ml/exoplanet-ml/
Also, make sure that versions are correct. For me following version
removed all errors:
tensorboard 1.15.0
tensorflow 1.15.0
tensorflow-estimator 1.15.1
tensorflow-probability 0.8.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=AMYMVQX2TJO6Z7WU4BYJZPLRENTYVA5CNFSM4IIHOJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMWYKZA#issuecomment-590185828>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMYMVQQPER46DL32ZGD3NQTRENTYVANCNFSM4IIHOJ5A>
.
|
@gators01 Latest version will not work, try using above versions |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As far as I tell, the install of all components went as expected from your instructions. When I ran the unit test for astronet, ops:dataset_ops_test fails. The 5 test before this pass. I don't fully understand the error in the log and therefore a solution is difficult to figure out. I have pasted the error log that the error message points to. Help is greatly appreciated, thanks.
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //astronet/ops:dataset_ops_test
/home/ai/.local/lib/python3.5/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/ai/.local/lib/python3.5/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'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:518: 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_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:519: 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_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:520: 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_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:525: 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_resource = np.dtype([("resource", np.ubyte, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: 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/ai/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: 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_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: 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_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: 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_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: 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_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/ai/.local/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: 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_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
File "/home/ai/.cache/bazel/_bazel_ai/6b6f4f7e1d21688bc72b89e31b3f055b/sandbox/linux-sandbox/1/execroot/main/bazel-out/k8-fastbuild/bin/astronet/ops/dataset_ops_test.runfiles/main/astronet/ops/dataset_ops_test.py", line 32, in
flags.DEFINE_string("test_srcdir", "", "Test source directory.")
File "/home/ai/.local/lib/python3.5/site-packages/absl/flags/_defines.py", line 240, in DEFINE_string
DEFINE(parser, name, default, help, flag_values, serializer, **args)
File "/home/ai/.local/lib/python3.5/site-packages/absl/flags/_defines.py", line 81, in DEFINE
DEFINE_flag(_flag.Flag(parser, serializer, name, default, help, **args), flag_values, module_name)
File "/home/ai/.local/lib/python3.5/site-packages/absl/flags/_defines.py", line 103, in DEFINE_flag
fv[flag.name] = flag
File "/home/ai/.local/lib/python3.5/site-packages/absl/flags/_flagvalues.py", line 430, in setitem
raise _exceptions.DuplicateFlagError.from_flag(name, self)
absl.flags._exceptions.DuplicateFlagError: The flag 'test_srcdir' is defined twice. First from absl.testing.absltest, Second from /home/ai/.cache/bazel/_bazel_ai/6b6f4f7e1d21688bc72b89e31b3f055b/sandbox/linux-sandbox/1/execroot/main/bazel-out/k8-fastbuild/bin/astronet/ops/dataset_ops_test.runfiles/main/astronet/ops/dataset_ops_test.py. Description from first occurrence: Root of directory tree where source files live
The text was updated successfully, but these errors were encountered: