paulbricman / dual-obsidian-client

A skilled virtual assistant for Obsidian.
https://paulbricman.com/thoughtware/dual
Mozilla Public License 2.0
242 stars 7 forks source link

Error deriveing the essence #47

Closed Ndawakh closed 3 years ago

Ndawakh commented 3 years ago

Google keeps giving me this error:

ValueError                                Traceback (most recent call last)
<ipython-input-16-3fe4c666eb07> in <module>()
----> 1 output = trainer.train()

3 frames
/usr/local/lib/python3.7/dist-packages/torch/utils/data/sampler.py in __init__(self, data_source, replacement, num_samples, generator)
    102         if not isinstance(self.num_samples, int) or self.num_samples <= 0:
    103             raise ValueError("num_samples should be a positive integer "
--> 104                              "value, but got num_samples={}".format(self.num_samples))
    105 
    106     @property

ValueError: num_samples should be a positive integer value, but got num_samples=0
paulbricman commented 3 years ago

Someone mentioned this was relevant: https://gist.github.com/MuhsinFatih/ee0154199803babb449b5bb98d3475f7

paulbricman commented 3 years ago

Closing this for now as all things related to the backend side of things are slowly moving to https://github.com/Psionica/dual-server, and changing. Will look into it if it pops up in the future with the new Rust backend.