Skip to content

Commit

Permalink
Update readthedocs yaml, bugfix in WORC inference
Browse files Browse the repository at this point in the history
  • Loading branch information
MStarmans91 committed Mar 5, 2024
1 parent 60d9f9a commit 8531047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

version: 2

sphinx:
configuration: WORC/doc/conf.py

build:
os: "ubuntu-20.04"
tools:
python: "3.7"

sphinx:
configuration: WORC/doc/conf.py

python:
install:
- requirements: requirements.txt
Expand Down
3 changes: 1 addition & 2 deletions WORC/WORC.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def build(self, buildtype='training'):
if buildtype == 'training':
self.build_training()
elif buildtype == 'inference':
raise WORCexceptions.WORCValueError("Inference workflow is still WIP and does not fully work yet.")
# raise WORCexceptions.WORCValueError("Inference workflow is still WIP and does not fully work yet.")
self.TrainTest = True
self.OnlyTest = True
self.build_inference()
Expand Down Expand Up @@ -1134,7 +1134,6 @@ def build_inference(self):
print('Building testing network...')
# We currently require labels for supervised learning
if self.labels_test:
self.network = fastr.create_network(self.name)

# Extract some information from the configs
image_types = list()
Expand Down

0 comments on commit 8531047

Please sign in to comment.