mirror of
https://github.com/prise6/smart-iss-posts
synced 2024-05-03 06:03:10 +02:00
18 lines
423 B
Python
18 lines
423 B
Python
import os
|
|
|
|
from iss.init_config import CONFIG
|
|
from iss.data.CollectionManager import CollectionManagerFromDirectory
|
|
|
|
|
|
## Variables globales
|
|
_SAMPLING_TYPE = 'autoencoder'
|
|
|
|
## Collection Manager
|
|
collection = CollectionManagerFromDirectory(config = CONFIG, sampling_type = _SAMPLING_TYPE)
|
|
|
|
## Volumes des images
|
|
volumes = collection.count().volumes
|
|
print(volumes)
|
|
|
|
## Creation des repertoires
|
|
collection.populateDirectories() |