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

The 04_custom_material_tuning.py example does not produce a tuned result #652

Open
2 tasks done
deleon117 opened this issue Feb 5, 2025 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@deleon117
Copy link
Collaborator

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

The experimental data from ansys.additive.core.examples.download_material_tuning_input only has one entry, which will result in an exception from the custom material tuning process. The experimental data file should have at least two entries to have a successful example.

📝 Steps to reproduce

Run 04_custom_material_tuning.py.
The output from print(summary) will be:
optimized_parameters_file: C:\Users\adeleon\AppData\Local\Ansys Inc\pyadditive\zggXdiM9xR1F\optimized_parameters.csv coefficients_file: None material_configuration_file: None characteristic_width_file: C:\Users\adeleon\AppData\Local\Ansys Inc\pyadditive\examples\material_tuning_input\characteristic_width_lookup.csv log_file: C:\Users\adeleon\AppData\Local\Ansys Inc\pyadditive\zggXdiM9xR1F\log.txt

The coefficients_file and material_configuration_file being None indicates an unsuccessful tuning.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.12

📦 Installed packages

accessible-pygments==0.0.5
aiohappyeyeballs==2.4.4
aiohttp==3.11.11
aiosignal==1.3.2
alabaster==1.0.0
annotated-types==0.7.0
-e git+https://github.com/ansys/pyadditive@4abccf26131ee806c335e5b4a27003ccb59f0ab3#egg=ansys_additive_core
ansys-api-additive==5.0.2
ansys-api-platform-instancemanagement==1.1.0
ansys-platform-instancemanagement==1.1.2
ansys-sphinx-theme==1.2.6
apeye==1.4.1
apeye-core==1.1.5
astroid==3.3.8
asttokens==2.4.1
attrs==25.1.0
autodocsumm==0.2.14
babel==2.16.0
beautifulsoup4==4.12.3
bleach==6.2.0
build==1.2.2.post1
CacheControl==0.14.2
cachetools==5.5.0
certifi==2024.7.4
cfgv==3.4.0
charset-normalizer==3.3.2
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
coverage==7.6.1
cssutils==2.11.1
cycler==0.12.1
debugpy==1.8.12
decorator==5.1.1
defusedxml==0.7.1
dict2css==0.3.0.post1
dill==0.3.8
distlib==0.3.9
docutils==0.21.2
domdf-python-tools==3.9.0
enum-tools==0.12.0
executing==2.0.1
fastjsonschema==2.21.1
filelock==3.16.1
fonttools==4.53.1
frozenlist==1.5.0
google-api-core==2.19.1
google-api-python-client==2.142.0
google-auth==2.34.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.63.2
grpcio==1.66.2
grpcio-health-checking==1.65.5
html5lib==1.1
httplib2==0.22.0
identify==2.6.1
idna==3.7
imageio==2.37.0
imagesize==1.4.1
importlib_metadata==8.4.0
iniconfig==2.0.0
ipykernel==6.29.5
ipython==8.26.0
ipywidgets==8.1.5
jedi==0.19.1
Jinja2==3.1.5
joblib==1.4.2
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
jupyter-sphinx==0.5.3
jupyter_client==8.6.3
jupyter_core==5.7.2
jupyterlab_pygments==0.3.0
jupyterlab_widgets==3.0.13
kiwisolver==1.4.5
MarkupSafe==3.0.2
matplotlib==3.10.0
matplotlib-inline==0.1.7
mistune==3.1.0
more-itertools==10.6.0
msgpack==1.1.0
multidict==6.1.0
natsort==8.4.0
nbclient==0.10.2
nbconvert==7.16.5
nbformat==5.10.4
nest-asyncio==1.6.0
nodeenv==1.9.1
numpy==2.1.0
numpydoc==1.8.0
packaging==24.1
pandas==2.2.2
pandocfilters==1.5.1
parso==0.8.4
pdf2image==1.17.0
phantomjs==1.4.1
pillow==10.4.0
platformdirs==4.2.2
pluggy==1.5.0
pooch==1.8.2
pre_commit==4.0.1
prompt_toolkit==3.0.47
propcache==0.2.1
proto-plus==1.24.0
protobuf==5.27.3
psutil==6.1.1
pure_eval==0.2.3
pyasn1==0.6.0
pyasn1_modules==0.4.0
pydantic==2.8.2
pydantic_core==2.20.1
pydata-sphinx-theme==0.16.1
Pygments==2.18.0
pypandoc==1.15
pyparsing==3.1.2
pyproject_hooks==1.1.0
pytest==8.3.2
pytest-cov==5.0.0
python-dateutil==2.9.0.post0
pytz==2024.1
pyvista==0.44.2
pywin32==308
PyYAML==6.0.2
pyzmq==26.2.0
referencing==0.36.1
requests==2.32.3
rpds-py==0.22.3
rsa==4.9
ruamel.yaml==0.18.10
ruamel.yaml.clib==0.2.12
scooby==0.10.0
six==1.16.0
snowballstemmer==2.2.0
soupsieve==2.6
Sphinx==8.1.3
sphinx-autoapi==3.3.3
sphinx-autodoc-typehints==3.0.1
sphinx-copybutton==0.5.2
sphinx-gallery==0.18.0
sphinx-jinja==2.0.2
sphinx-jinja2-compat==0.3.0
sphinx-notfound-page==1.0.4
sphinx-prompt==1.9.0
sphinx-tabs==3.4.5
sphinx-toolbox==3.8.1
sphinx_design==0.6.1
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
sphinxemoji==0.3.1
stack-data==0.6.3
tabulate==0.9.0
tinycss2==1.4.0
tornado==6.4.2
tqdm==4.66.5
traitlets==5.14.3
trame==3.7.6
trame-client==3.5.2
trame-plotly==3.0.2
trame-server==3.3.0
trame-vtk==2.8.14
trame-vuetify==2.8.0
typing_extensions==4.12.2
tzdata==2024.1
uritemplate==4.1.1
urllib3==2.2.2
virtualenv==20.26.6
vtk==9.3.1
wcwidth==0.2.13
webencodings==0.5.1
wheel==0.44.0
widgetsnbextension==4.0.13
wslink==2.2.2
yarl==1.18.3
zipp==3.20.0
@deleon117 deleon117 added the bug Something isn't working label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant