Closed ctyeong closed 1 year ago
Can you show me the output of the following command?
tree /home/username/anaconda3/envs/agml/lib/python3.7/site-packages/agml/_helios/Helios/projects/SyntheticImageAnnotation
(assuming username
is your home directory, otherwise replace with the corresponding path).I can't reproduce your error on my end, so there may be a path issue, or Helios may not have been fully installed. Try deleting the Helios directly and re-installing/compiling it.
Can you show me the output of the following command?
tree /home/username/anaconda3/envs/agml/lib/python3.7/site-packages/agml/_helios/Helios/projects/SyntheticImageAnnotation
(assumingusername
is your home directory, otherwise replace with the corresponding path).
I can only find .gitignore
under /home/username/anaconda3/envs/agml/lib/python3.7/site-packages/agml/_helios/Helios/projects
. No SyntheticImageAnnotation
.
Try deleting the Helios directory directly and re-installing/compiling it.
Okay. I think .../agml/_helios/Helios
seems to be same as shown here: https://github.com/PlantSimulationLab/Helios, where the projects
folder only contains .gitignore
.
Try deleting the Helios directory directly and re-installing/compiling it.
Could you give me a more clarification on what to compile from this directory?
Delete the Helios directory in agml/_helios
, then run agml.synthetic.reinstall_helios()
.
That worked! Actually, agml.synthetic.reinstall_helios()
shows an error when there is no agml/_helios
. So, I removed and re-installed the whole agml
using pip
to run agml.synthetic.reinstall_helios()
afterwards. Then, generator.generate(name = 'tomato_sample', num_images = 3)
went without issue. Thanks!
I was following your "AgML-Synthetic.ipynb" example.
I have run the code below:
generator.generate(name = 'tomato_sample', num_images = 3)
,and an error follows: