Comments (4)
It seems to be the problem of values below
--max_m_strokes 1000
--max_divide 15
I tried some different values, and I guess the max_m_strokes value has to be divisible by (max_divide * 50)? If you try --max_m_strokes 1500, that might work.
from stylized-neural-painting.
Hi @Zhenye-Na, thanks for your feedback. Can you try to restart the runtime and run from the beginning cell?
from stylized-neural-painting.
thans for the reply, I will try to re-run the colab notebook, will attach the error here if it appears again,
from stylized-neural-painting.
still run into the same error:
initialize network with normal
loading renderer from pre-trained checkpoint...
begin drawing...
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-12-8f14c24057d5> in <module>()
1 pt = ProgressivePainter(args=args)
----> 2 final_rendered_image = optimize_x(pt)
<ipython-input-11-25a3da86e7fa> in optimize_x(pt)
51 pt.step_id += 1
52
---> 53 v = pt._normalize_strokes(pt.x)
54 v = pt._shuffle_strokes_and_reshape(v)
55 PARAMS = np.concatenate([PARAMS, v], axis=1)
AttributeError: 'ProgressivePainter' object has no attribute 'x'
maybe it is the size of the image I choose? you can review the colab notebook I used here
from stylized-neural-painting.
Related Issues (20)
- Advice on combining CLIP with the neural renderer HOT 3
- MacBook HOT 4
- intersection brushstroke question HOT 7
- brush_alpha erro HOT 2
- Google drive not letting me download the oil pretrained HOT 1
- Style Transfer Colab Notebook error HOT 2
- 文件版许可证与readme中的内容不符 HOT 1
- Rendering Vector To Image
- About training new painting styles HOT 1
- style transfer in demo_nst.py
- ImportError: cannot import name 'is_url' from 'runway.utils'
- Graphics card not working
- The difference of _render and _drawing_step_states
- Cannot find zipfile directory HOT 2
- Limiting brush stroke sizes
- 2 Questions about the method of this paper
- Ask some questions about this project
- How can change the color and shape parameter of the input picture?
- 詢問資料集相關事宜
- What Exactly AI do?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylized-neural-painting.