Issue with build_coordinates.py
- Dominant language
- Python
- Stars
- 351
- Forks
- 109
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 7
Description
Hello, I installed ffn and downloaded the sample data without issue. I am trying to train the sample model and got an error.
I ran this:
> (ffn) user:~/ffn-master$ runffn.sh
> #!/bin/bash
> python compute_partitions.py \
> --input_volume ~/third_party/neuroproof_examples/validation_sample/groundtruth.h5:stack \
> --output_volume ~/third_party/neuroproof_examples/validation_sample/af.h5:af \
> --thresholds 0.025,0.05,0.075,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9 \
> --lom_radius 24,24,24 \
> --min_size 10000
> python build_coordinates.py \
> --partition_volumes ~/third_party/neuroproof_examples/validation_sample/af.h5:af \
> --coordinate_output ~/third_party/neuroproof_examples/validation_sample/tf_record_file \
> --margin 24,24,24
>
compute_partitions.py runs fine, but with build_coordinates I get this:
> Traceback (most recent call last):
File "build_coordinates.py", line 110, in
app.run(main)
File "/home/ncmir-lab/.conda/envs/ffn/lib/python3.6/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/home/ncmir-lab/.conda/envs/ffn/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "build_coordinates.py", line 62, in main
name, path, dataset = partvol.split(':')
ValueError: not enough values to unpack (expected 3, got 2)
Contributor guide
Assessment
This issue has not been assessed yet.