argosopentech / argosopentech/argos-train

Traceback AssertionError while training in Vast.ai

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
158
Forks
29
PR merge metrics
No merged PRs in 30d

Description

I always get this error message after uploading .argosdata package to Vast.ai after running argos-train command.

Traceback (most recent call last):
File "/home/argosopentech/env/bin/argos-train", line 7, in
exec(compile(f.read(), __file__, 'exec'))
File "/home/argosopentech/argos-train/bin/argos-train", line 18, in
train.train(from_code, to_code, from_name, to_name, version, package_version, argos_version, data_exists)
File "/home/argosopentech/argos-train/argostrain/train.py", line 78, in train
source, target = dataset.data()
File "/home/argosopentech/argos-train/argostrain/dataset.py", line 247, in data
self.local_dataset = LocalDataset(filepath)
File "/home/argosopentech/argos-train/argostrain/dataset.py", line 152, in __init__
assert len(dir_names) > 0
AssertionError

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with argostrain/dataset.py at LocalDataset line 152 and trace how argostrain/train.py calls dataset.data() after argos-train. Reproduce the failure using the uploaded .argosdata package on Vast.ai and inspect its extracted directory structure; done when a valid package loads without the AssertionError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.