huggingface / huggingface/pixparse

Make transforms configurable

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
25
Forks
4
PR merge metrics
No merged PRs in 30d

Description

in PR #24, in task_cruller_pretrain.py, transform set is hard-coded to "better".
```python
self.image_preprocess_train = create_transforms(
'better',
input_cfg=self.image_input_cfg,
training=True,
interpolation='bicubic',
crop_margin=False, # True?
align_long_axis=False,
)
```
We should make compatible a composition of transforms with a config file.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.