I tried to use the program with no result. In the following I describe what I did.
- clone the repository
- create a virtual environment and install the python modules (requirements.txt)
- download databases (bash ./dataset/download_dataset.sh)
- unzip de downloaded databases. Both zip files create the same directory 'backbone_dataset' and some files have the same name
- execute augment-images.py script
There are two copies of this script one in the directory "etc" and the other in "dataset"
In the following I describe the errors that appear when using the script located at "dataset"
a) the script assume the existence of a directory called rcnn_dataset_full that does not exist. I linked rcnn_dataset_full to backbone_dataset
b) The execution returns the message:
2022-07-05 10:29:56.092803: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
['mature', 'eccentric', 'immature']
Number of images to process: 3
#############################################################################
Processing image #0
Loading image from ./rcnn_dataset_full/train/mature/mature.png
Traceback (most recent call last):
File "/home/roberto/scipion3/software/em/TEMNet/./dataset/augment-images.py", line 470, in <module>
expand_images_crops(crop_size, step_size, TRAIN_PATH, './rcnn_dataset_augmented/train', rewrite= True)
File "/home/roberto/scipion3/software/em/TEMNet/./dataset/augment-images.py", line 429, in expand_images_crops
img = load_img(LOAD_PATH)
File "/home/roberto/miniconda/envs/temnet-env/lib/python3.10/site-packages/keras/utils/image_utils.py", line 393, in load_img
with open(path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: './rcnn_dataset_full/train/mature/mature.png'
c) indeed the file './rcnn_dataset_full/train/mature/mature.png' does not exist.
Any help regarding how to process will be welcome
By the way, I also tried to execute the GUI but it seems that the version of my libgc is not compatible with the one assumed by the binary.
[38082] Error loading Python lib '/home/roberto/scipion3/software/em/TEMNet/GUI/TEMNet/libpython3.8.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/roberto/scipion3/software/em/TEMNet/GUI/TEMNet/libpython3.8.so.1.0)
I tried to use the program with no result. In the following I describe what I did.
There are two copies of this script one in the directory "etc" and the other in "dataset"
In the following I describe the errors that appear when using the script located at "dataset"
a) the script assume the existence of a directory called rcnn_dataset_full that does not exist. I linked rcnn_dataset_full to backbone_dataset
b) The execution returns the message:
c) indeed the file './rcnn_dataset_full/train/mature/mature.png' does not exist.
Any help regarding how to process will be welcome
By the way, I also tried to execute the GUI but it seems that the version of my libgc is not compatible with the one assumed by the binary.