You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In test_on_pod.py, the valid variable seems to be used directly and can contain both True and False values, which is potentially problematic since it is assumed that it should be strictly True.
In pointodysseydataset_fullseq.py, the valids variable is generated from the expression valids = (visibs < 2).astype(np.float32). From my review of visibs, it only contains True and False values. This means that valids should also only contain True values, leading to a mismatch in expectations between these two files.
Question:
Why is the valid variable being handled differently in these two locations? Specifically, why is the valid variable in test_on_pod.py allowed to contain both True and False values, whereas in pointodysseydataset_fullseq.py, it is assumed to only contain True values? Would it be possible to align the usage of valid across these files to ensure consistency?
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Issue Description:
I've noticed that in the two code files,
test_on_pod.py
andpointodysseydataset_fullseq.py
, thevalid
variable is handled inconsistently:pips2/test_on_pod.py at 8b5bd9ecb27274f76f75fcaeff0dbdf13de0b977 · aharley/pips2
test_on_pod.py
, thevalid
variable seems to be used directly and can contain bothTrue
andFalse
values, which is potentially problematic since it is assumed that it should be strictlyTrue
.pips2/datasets/pointodysseydataset_fullseq.py at 8b5bd9ecb27274f76f75fcaeff0dbdf13de0b977 · aharley/pips2
pointodysseydataset_fullseq.py
, thevalids
variable is generated from the expressionvalids = (visibs < 2).astype(np.float32)
. From my review ofvisibs
, it only containsTrue
andFalse
values. This means thatvalids
should also only containTrue
values, leading to a mismatch in expectations between these two files.Question:
Why is the
valid
variable being handled differently in these two locations? Specifically, why is thevalid
variable intest_on_pod.py
allowed to contain bothTrue
andFalse
values, whereas inpointodysseydataset_fullseq.py
, it is assumed to only containTrue
values? Would it be possible to align the usage ofvalid
across these files to ensure consistency?Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: