-
Notifications
You must be signed in to change notification settings - Fork 145
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
Bug fix for: "ImportError: cannot import name 'FileWriter' from 'tensorboard'" #29
Open
Redcof
wants to merge
90
commits into
hanzhanggit:master
Choose a base branch
from
Redcof:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
f18de8a
Bug fix for
c59afae
Support for Python3.8 and Python 2.7
1fef73c
- A script to generate custom dataset for StackGAN
72b0aad
- generate custome dataset: filenames, classids
soumentechnoexponent 07a6117
- filenames and embedding is created
6bc6321
- Proper embeddings, classids, and filenames are generated
55fb7ca
- Stage-1 and Stage-2 ran successfully
4799fba
- code cleanup
8666e6f
- install fasttext through conda
b0f5e17
install pytorch through conda
ba7c4c5
- Doc update
e7bad61
- script to check CUDA
6737182
- script to check CUDA support version
af3aaa3
- Cuda checks
39f7e6f
- Generate data form sqlite
b7e3c82
-pascal voc tool update
f2b27b7
- generate dataset form sqlite
d7fbb14
configuration for Sixray500 stage-1
14f378d
configuration for Sixray500 stage-2
2fa9fef
Retraining configuration for stage-1 with 1000 epoch
730de24
Retraining configuration for stage-2 with 1000 epoch
e4ef52f
Retraining configuration for stage-2 with 1000 epoch
a04ff37
configuration for 600 captions
0b97033
Stop config for finetune
fa2761b
Config for stage-2 600 captions
e81d89b
Experiment-3 1107 captions and 432 files
29705d2
Experiment-3 1107 captions and 432 files, stage-2
7dcabf1
Trainer image logging update
c307aa3
Setup config for experiment-3
d0d93e6
- support to train fasttext on caption dataset
77b4fd2
- Updating scripts and configuration
1cd65cc
- save image at last epoch
dc4f39d
- config for stage -1
2b8271a
- config for stage -2
9f39fd7
- config for stage -1 for 1347 captions
cf41c01
- one script for entire pipeline
5e6ba5b
- generate test dataset
soumentechnoexponent 19eacbb
- testing script
soumentechnoexponent d46deaf
- script update to generate data with fasttext encoding
7ec642c
- config update for express train and test
cbe8d8c
- increase epoch form 1 to 500
a827877
- script generation update
5cf8a42
Preparing for training with 2183 caption 1000D
0ab31e1
- config for 2500 captions
c5d5af2
- Fasttext algorithm change
7b7ffc5
- Aspect ratio resize transform
58bafec
- cbow 2048D, 200 epoch, zdim 200
ad61d1e
- resize bug fix
5829e84
- config for cbow1024D no crop 2500 caption and zdim 100
0a12f0d
- minimum caption length=3
fffbd1e
- script update foe experiment 11: sixray_2500_ftt_1024D_skipgram_nocrop
33f7e1a
WIP for openai access
b277140
Bulk OpenAPI embedding text processor
ce01d5d
- bulk caption loading
30d7183
- single caption loading
c01ca24
- Embedding and POC with OpenAI is done
65022cf
- file check in progress
310d355
- config update for openai embedding
9695908
- FP32 to FP64 auto adaption
c7660bb
- experiment12
4708a20
texts to captions
af0752b
texts to captions
fd44939
- ready for experiment12
e82cee4
run with 1000 epoch openai embeddings
41b47ec
ignore pycache
86d44f2
floating point precision control
bf1f3ca
11805 caption and 2381 images is available
d0fb9cc
config update for 2381 images
a9e4fe5
Prepare for SQLite data generation
a049450
32 batch size
a3b6717
16 batch size
c31192a
64 batch size
a40a7b6
epoch 1000
ec7d45a
- Generate test images during training
c859f7e
- CUDA clean in test phase
aff251d
- PYTORCH_CUDA_ALLOC_CONF
c9d4d3b
- bug fix during memory cleaning
1bd338e
Fixing CUDA PyTorch Future deprecation waring
fc46af1
- capping captions to 4 as a few files are inconsistently contains up…
soumentechnoexponent fc7804d
- Hyperparameter double
d70f377
- Hyperparameter double
3afcf2b
- copy config
50aeb70
- copy config
213f178
- Finetune Experiment15.
58f1e98
- fix memory count
53e3081
- mild code update for WorkRNN models
fcb0a58
- saving git checksum and generating a config
ac85b9d
- config update
c961de2
buf gix
42dbacf
config for cnn-rnn word embedding
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
from miscc.utils import compute_discriminator_loss, compute_generator_loss | ||
|
||
from tensorboard import summary | ||
from tensorboard import FileWriter | ||
from tensorboardX import FileWriter | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Importing the library to fix the bug |
||
|
||
|
||
class GANTrainer(object): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
tensorboard==2.13.0 | ||
tensorboardX==2.6 | ||
python-dateutil | ||
easydict==1.10 | ||
pandas==1.5.1 | ||
torchfile==0.1.0 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guidance to install the dependencies using a single command as I have introduced a
requirements.txt
file