shenw000

Results 9 issues of shenw000

I am using the following notebook to finetune the TrOCR with a custom dataset: Fine_tune_TrOCR_on_IAM_Handwriting_Database_using_native_PyTorch.ipynb When preparing for the gt_test.txt custom dataset, I write out image_file_name+"\t"+annotation_text for each line image....

To install trocr on Ubuntu 20.04, I followed the trocr installation steps on https://github.com/microsoft/unilm/tree/master/trocr conda create -n trocr python=3.7 conda activate trocr git clone https://github.com/microsoft/unilm.git cd unilm cd trocr pip...

I first ran "python main.py" command successfully with MODEL='resnet18' in the settings.py, which seems to indicate my environment works correctly. Nest, I changed the settings.py to MODEL='resnet50' and encountered the...

I am using pytorch 1.11 on Ubuntu 20.04. The system configuration works fine with the command "bash scripts/DINO_train.sh /path/to/my/COCODIR". I have submitted a distributed run of "bash scripts/DINO_train_submitit.sh /path/to/my/COCODIR". The...

Hello, In "visualize_attention_map.ipynb", the trained model is loaded in the following line: model.load_from(np.load("attention_data/Vit-B_16-224.npz")) I used your train.py to finetune the Vit-B_16-224.npz with my custom data, which produced a Pytorch model...

When I run the image_classification.ipynb to fine tung the model, it generates the following error after ran train_ds.set_transform(preprocess_train) val_ds.set_transform(preprocess_val) train_ds[0]: --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /tmp/ipykernel_26181/576563551.py in ---->...

Following the "Rebuilding Overlays" instruction at https://github.com/Xilinx/Alveo-PYNQ/blob/master/overlays/README.md, I am running the following command on AWS F1 instance: make build DEVICE=xilinx_aws-vu9p-f1_dynamic_5_0 and received the following message: Makefile:67: *** XILINX_VITIS is not...

Awesome job! For testing your method, I am not able to acces you FUSAR-MAP dataset at https://pan.baidu.com/s/1DvnesAGs4zmRoIw77IwMog#list/path=%2F because I am located outside of the PROC. Is there any other way...

When I run the command "import homography_est as hest" in glue_stick_demo.ipynb, the following error appears: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import homography_est...