RAM is not properly released by tf.reset_default_graph

This commit is contained in:
mmoussallam
2020-06-26 00:44:50 +02:00
parent 5bd633961f
commit 39af9502ab
2 changed files with 50 additions and 50 deletions

View File

@@ -8,7 +8,7 @@
FEEDSTOCK = spleeter-feedstock
FEEDSTOCK_REPOSITORY = https://github.com/deezer/$(FEEDSTOCK)
FEEDSTOCK_RECIPE = $(FEEDSTOCK)/recipe/spleeter/meta.yaml
PYTEST_CMD = pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv
PYTEST_CMD = pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv --forked
all: clean build test deploy
@@ -27,7 +27,7 @@ build-gpu: clean
python3 setup.py sdist
test:
$(foreach file, $(wildcard tests/test_*.py), $(PYTEST_CMD) $(file);)
$(PYTEST_CMD)
deploy: