Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix augmentation space to be uint8 compatible (#4806) #5067

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Dec 8, 2021

Cherrypick from #4806

cc @vfdev-5 @datumbox

* change range into uint8

* Same typo in TrivialAugmentWide and RandAugment

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Co-authored-by: Prabhat Roy <prabhatroy@fb.com>
@facebook-github-bot
Copy link

facebook-github-bot commented Dec 8, 2021

💊 CI failures summary and remediations

As of commit 5105b55 (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build cmake_windows_cpu (1/1)

Step: "set -ex
source packaging/windows/internal/vc_install_helper.sh
packaging/build_cmake.sh
" (full log | diagnosis details | 🔁 rerun)

warnings.warn(f'Error checking compiler version for {compiler}: {error}')
Installed c:\users\circleci\project
Processing dependencies for torchvision==0.11.0.dev20211208
Searching for numpy
Reading https://pypi.org/simple/numpy/
Downloading https://files.pythonhosted.org/packages/7a/7f/5384d4c85a2349bd89ff1c0253bff77c7b617e48af201f2d823fc619189a/numpy-1.22.0rc1.zip#sha256=bc991b3f8ea7c0f6703df2bc23c098cfe6f1a3a5e8a3a901eb6a5619275d53ff
Best match: numpy 1.22.0rc1
Processing numpy-1.22.0rc1.zip
Writing C:\Users\circleci\AppData\Local\Temp\easy_install-qcs1ipsx\numpy-1.22.0rc1\setup.cfg
Running numpy-1.22.0rc1\setup.py -q bdist_egg --dist-dir C:\Users\circleci\AppData\Local\Temp\easy_install-qcs1ipsx\numpy-1.22.0rc1\egg-dist-tmp-j2zaohfk
C:\tools\miniconda3\lib\site-packages\torch\utils\cpp_extension.py:316: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
  warnings.warn(f'Error checking compiler version for {compiler}: {error}')
Traceback (most recent call last):
  File "C:\tools\miniconda3\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
    yield saved
  File "C:\tools\miniconda3\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "C:\tools\miniconda3\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "C:\tools\miniconda3\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\circleci\AppData\Local\Temp\easy_install-qcs1ipsx\numpy-1.22.0rc1\setup.py", line 34, in <module>

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@datumbox datumbox merged commit 12f664b into pytorch:release/0.11 Dec 8, 2021
@datumbox datumbox deleted the cherry/augmentation_space branch December 8, 2021 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants