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

fix densely-connected size #17

Closed
wants to merge 1 commit into from

Conversation

takeru
Copy link
Contributor

@takeru takeru commented Jul 25, 2018

When I try with height=50, I met this error:

InvalidArgumentError (see above for traceback): Incompatible shapes: [52,4] vs. [50,4]
diff --git a/datasets/gen_captcha.py b/datasets/gen_captcha.py
index 0e0bf46..492bca8 100644
--- a/datasets/gen_captcha.py
+++ b/datasets/gen_captcha.py
@@ -49,8 +49,8 @@ def gen_dataset():

     choices = get_choices()

-    width = 40 + 20 * num_per_image
-    height = 100
+    width = 100 # 40 + 20 * num_per_image
+    height = 50 # 100

     # meta info
     meta = {

@Apidwalin
Copy link

เมื่อฉันลองด้วย height=50 ฉันพบข้อผิดพลาดนี้:

InvalidArgumentError (see above for traceback): Incompatible shapes: [52,4] vs. [50,4]
diff --git a/datasets/gen_captcha.py b/datasets/gen_captcha.py
ดัชนี 0e0bf46..492bca8 100644
--- a/datasets/gen_captcha.py 
+++ b/datasets/gen_captcha.py 
@@ -49,8 +49,8 @@ def gen_dataset():

     ตัวเลือก = get_choices()

-     ความกว้าง = 40 + 20 * num_per_image 
-     ความสูง = 100 
+     ความกว้าง = 100 # 40 + 20 * num_per_image 
+     ความสูง = 50 # 100

     #ข้อมูลเมตา
     เมตา = {

@Apidwalin
Copy link

diff --git a/datasets/gen_captcha.py b/datasets/gen_captcha.py
ดัชนี 0e0bf46..492bca8 100644
--- a/datasets/gen_captcha.py
+++ b/datasets/gen_captcha.py
@@ -49,8 +49,8 @@ def gen_dataset():

 ตัวเลือก = get_choices()
  • ความกว้าง = 40 + 20 * num_per_image 
    
  • ความสูง = 100 
    
  • ความกว้าง = 100 # 40 + 20 * num_per_image 
    
  • ความสูง = 50 # 100
    

    #ข้อมูลเมตา
    เมตา = {

@JackonYang JackonYang closed this Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants