Skip to main content

A repository for storing my progress of researches.

Project description

Myosotis-Researches

CcGAN (myosotis_researches.CcGAN)

internal

The internal module is used for setting the local package itself, like installing datasets and so on.

Import with code

from myosotis_researches.internal import *
Function Desctiption
install_datasets(datasets_name) Install the datasets in datasets_name to the local python package.
uninstall_datasets() Remove all the datasets installed to the local python package.
show_datasets() Show all datasets installed.

Note:

  1. The path of the installed datasets are

    resources.files("myosotis_researches").join("CcGAN", "<datasets_name>")

    To run this code, remember to add from importlib import resources at the beginning.

utils

The utils module contains some basic functions and classes which are frequently used during the CcGAN research.

Import with code

from myosotis_researches.utils import *
Function Description
concat_image(img_list, gap=2, direction="vertical") Concat images vertically or horizontally.
make_h5(old_datasets_name, size, new_datasets_path, image_indexes, train_indexes, val_indexes) Get piece of original HDF5 datasets.
print_hdf5(name, obj) Print a basic structure of an HDF5 file.

Note:

  1. Function print_hdf5 should be used within a with block:

    import h5py
    
    with h5py.File(<HDF5_file_path>, "r") as f:
      f.visititems(print_hdf5)
    

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myosotis_researches-0.1.10.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

myosotis_researches-0.1.10-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

Details for the file myosotis_researches-0.1.10.tar.gz.

File metadata

  • Download URL: myosotis_researches-0.1.10.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for myosotis_researches-0.1.10.tar.gz
Algorithm Hash digest
SHA256 c79aead467cb009eb2615488b0b88bb05932436989fbc735d2a0d86c199573c8
MD5 fd979a2f969023bc249d6e010d19e0ab
BLAKE2b-256 99c6048c408ea02763ff14de4e3df3b209ccc788653db203faeff06d85e96647

See more details on using hashes here.

File details

Details for the file myosotis_researches-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for myosotis_researches-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4cecc8728a79f6fab4f7defe38e18f57219e0e994d87ef6bd90b2bed9f3241d1
MD5 61b03e1a86e709179b57771a5c478cf3
BLAKE2b-256 14fa29af3f46f047181e0f0041e9c50861b798565a44b68c4ea5b40e3a1304a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page