1 Star 1 Fork 0

小荷才露尖尖角/IQA-PyTorch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 906 Bytes
一键复制 编辑 原始数据 按行查看 历史
chaofengc 提交于 2024-01-06 18:19 . fix: :bug:fix bug in cw-ssim and liqe
refresh: clean build install build_dist release
build:
python setup.py build
install:
python setup.py install
build_dist:
make clean
python setup.py sdist bdist_wheel
pip install dist/*.whl
release:
python -m twine upload dist/*
# lint:
# flake8 pyiqa/ --count --max-line-length=127 --ignore=W293,W503,W504,E126,E741
# test calibration and forward inference
test:
pytest tests/ -m calibration -v
pytest tests/test_metric_general.py::test_forward -v
pytest tests/test_metric_general.py::test_cpu_gpu_consistency -v
test_cs:
pytest tests/test_metric_general.py::test_cpu_gpu_consistency -v
test_grad:
pytest tests/test_metric_general.py::test_gradient_backward -v
test_dataset:
pytest tests/test_datasets_general.py -v
test_all:
pytest tests/ -v
clean:
rm -rf __pycache__
rm -rf pyiqa/__pycache__
rm -r pyiqa.egg-info
rm -rf build
rm -rf dist
pip uninstall -y pyiqa || true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Heconnor/IQA-PyTorch.git
[email protected]:Heconnor/IQA-PyTorch.git
Heconnor
IQA-PyTorch
IQA-PyTorch
main

搜索帮助