-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hey! I was trying to play with threeseqdel_classcond (or threeseqabs_classcond) however two problems came out.
- preprocessing the directory into a
.npzis not possible, i.g.
python data/qd.py /the/output/dir/cat threeseqdel_classcond
raises errors
Traceback (most recent call last):
File "SOMEPATH/chirodiff_test/data/qd.py", line 281, in <module>
dummy_sample = ds[0]
File "SOMEPATH/chirodiff_test/data/qd.py", line 140, in __getitem__
return self.represent(self.get_sketch(i))
File "SOMEPATHchirodiff_test/data/qd.py", line 201, in represent
label = torch.tensor(sketch.label, dtype=torch.int64)
TypeError: an integer is required (got type NoneType)
- If i skip this step as suggested in README.md, and start the training. In the
config.yml, I changedreprintothreeseqdel_classcond. And for example, under the/the/output/dir/I have two folders, cat and dog, seperately including some sketches, and therefore I setupnum_classes: typing.Optional[int] = 2inconfig.yml, as suggesed inln 74inmain.py, and therefor I haveroot_dirinconfig.ymlto be/the/output/dir/, and naturally the error becomes
SOMEPATH/pytorch_lightning/utilities/data.py:103: UserWarning: Total length of `CombinedLoader` across ranks is zero. Please make sure this was your intention.
rank_zero_warn(
`Trainer.fit` stopped: No training batches.
I guess this could be easily fixed if you could remind some special settings/path selections specifically for the class condition?
Many thanks!
Metadata
Metadata
Assignees
Labels
No labels