isosnovik / top Goto Github PK
View Code? Open in Web Editor NEWDataset of topology optimization
Dataset of topology optimization
Thank you for your valuable work on topology! When I was runner the code on my computer ,it raised an error, as follows :
(py27) PS D:\topo\top-master> python code/generate_data.py --dir C:\tmp\data_topy --num 10000
Generating the dataset...
D:\anaconda\install\envs\py27\lib\site-packages\topy\topology.py:517: RuntimeWarning: invalid value encountered in power
(self.desvars * (-self.df / lammid)**self.eta)**self.q))))
D:\anaconda\install\envs\py27\lib\site-packages\topy\topology.py:517: RuntimeWarning: invalid value encountered in minimum
(self.desvars * (-self.df / lammid)**self.eta)**self.q))))
D:\anaconda\install\envs\py27\lib\site-packages\topy\topology.py:517: RuntimeWarning: invalid value encountered in maximum
(self.desvars * (-self.df / lammid)self.eta)self.q))))
D:\anaconda\install\envs\py27\lib\site-packages\topy\topology.py:581: RuntimeWarning: invalid value encountered in double_scalars
updatedKe = self.desvars[ely, elx] ** self.p * self.Ke
Done: 891/10000Can't expand MemType 0: jcol 1627
Done: 891/10000Can't expand MemType 0: jcol 3186
Done: 891/10000Can't expand MemType 0: jcol 2500.
Done: 891/10000SUPERLU_MALLOC fails for buf in intCalloc() at line 71 in file pysparse\direct\superlu\src\memory.c
I need your help about how to fix the bug, thanks very much!
Hi,
I am using 500 datapoints from the dataset you have provided to try and run the experiments for an academic project. But I am getting the following error when I try to extract the data:
I have saved the dataset in the same directory as that of the jupyter notebook. Please suggest a correction.
Thanks in advance!
It says
Traceback (most recent call last):
File "generate_data.py", line 10, in
topy.Logger.verbose = False
AttributeError: 'module' object has no attribute 'Logger'
when I run generate_data.py code
'module' object has no attribute 'Logger'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.